diff options
author | Felix Yan | 2019-03-17 10:23:21 +0000 |
---|---|---|
committer | Felix Yan | 2019-03-17 10:23:21 +0000 |
commit | 2bd0e46436c190cf833e02d094cb81b537e8c402 (patch) | |
tree | 0495c8cae186f830c4a7a78d67917b92c92f4201 | |
parent | ba90f7aa0fe2581ad895bd5695ec6c406d2cfef1 (diff) | |
download | aur-2bd0e46436c190cf833e02d094cb81b537e8c402.tar.gz |
remove python2 sibling
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
@@ -1,41 +1,29 @@ # Maintainer: Felix Yan <felixonmars@archlinux.org> -pkgbase=python-chameleon -pkgname=('python-chameleon' 'python2-chameleon') +pkgname=python-chameleon pkgver=3.6 -pkgrel=1 +pkgrel=2 pkgdesc="Fast HTML/XML Template Compiler" arch=('any') license=('custom:BSD' 'ZPL') url="http://www.pagetemplates.org/" -makedepends=('python-setuptools' 'python2-setuptools') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/malthe/chameleon/archive/$pkgver.tar.gz") +depends=('python') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/malthe/chameleon/archive/$pkgver.tar.gz") sha512sums=('4afb8a60b46dc64dc4214a16586b6431e5fe7e52cfa5ede5cebe38357d3005b4cfc7ea02e68a31e83ebd08f700c08e34ea3c6808614a7d596d3e25cf10f09c87') build() { cd chameleon-$pkgver python setup.py build - python2 setup.py build } check() { cd chameleon-$pkgver python setup.py test - python2 setup.py test } -package_python-chameleon() { - depends=('python') - +package() { cd chameleon-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } - -package_python2-chameleon() { - depends=('python2') - - cd chameleon-$pkgver - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} |