diff options
author | Alex Forencich | 2020-07-24 01:10:54 -0700 |
---|---|---|
committer | Alex Forencich | 2020-07-24 01:10:54 -0700 |
commit | 4bbab6f2ce8912273ee2b9fb0685ef2cac659c99 (patch) | |
tree | e7fe5e9c1636d56f5302455b8edb113c8b66e82e /PKGBUILD | |
parent | 6e8049460f28c946378b0366b12f6ea3ab167c62 (diff) | |
download | aur-python-myhdl-git.tar.gz |
New revision, drop python 2 split
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
@@ -1,12 +1,15 @@ # Maintainer: Alex Forencich <alex@alexforencich.com> -pkgname=(python-myhdl-git python2-myhdl-git) -pkgver=0.10.r15.ge185577 +pkgname=python-myhdl-git +pkgver=0.11.r14.ga4708fa pkgrel=1 pkgdesc="a Python-Based Hardware Description Language" arch=('any') url="http://www.myhdl.org/" license=('LGPL') -makedepends=('git' 'python-sphinx' 'python-setuptools' 'python2-setuptools') +makedepends=('git' 'python-sphinx' 'python-setuptools') +depends=('python' 'iverilog') +provides=('python-myhdl') +conflicts=('python-myhdl') _gitroot='https://github.com/myhdl/myhdl.git' _gitname='myhdl' @@ -29,11 +32,7 @@ build() { make } -package_python-myhdl-git() { - depends=('python' 'iverilog') - provides=('python-myhdl') - conflicts=('python-myhdl') - +package() { cd "$srcdir/$_gitname" python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 @@ -42,16 +41,3 @@ package_python-myhdl-git() { install -m 0755 -D ./cosimulation/icarus/myhdl.vpi $pkgdir/usr/lib/ivl/myhdl.vpi } -package_python2-myhdl-git() { - depends=('python2' 'iverilog') - provides=('python2-myhdl') - conflicts=('python2-myhdl') - - cd "$srcdir/$_gitname" - python2 setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 - - rm -rf $pkgdir/usr/share/myhdl - - install -m 0644 -D ./LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt -} - |