initial import
This commit is contained in:
38
python-six/PKGBUILD
Normal file
38
python-six/PKGBUILD
Normal file
@@ -0,0 +1,38 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgbase=python-six
|
||||
pkgname=('python-six' 'tauthon-six')
|
||||
pkgver=1.15.0
|
||||
pkgrel=2
|
||||
arch=('any')
|
||||
url='https://pypi.python.org/pypi/six/'
|
||||
license=('Expat')
|
||||
makedepends=('python-setuptools' 'tauthon-setuptools')
|
||||
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
|
||||
sha512sums=('eb840ac17f433f1fc4af56de75cfbfe0b54e6a737bb23c453bf09a4a13d768d153e46064880dc763f4c5cc2785b78ea6d3d3b4a41fed181cb9064837e3f699a9')
|
||||
|
||||
build() {
|
||||
cp -a six-$pkgver{,-tauthon}
|
||||
}
|
||||
|
||||
package_python-six() {
|
||||
pkgdesc="Python compatibility utilities"
|
||||
depends=('python')
|
||||
|
||||
cd six-$pkgver
|
||||
python setup.py install --root "$pkgdir" --optimize=1
|
||||
|
||||
# license
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_tauthon-six() {
|
||||
pkgdesc="Tauthon compatibility utilities"
|
||||
depends=('tauthon')
|
||||
|
||||
cd six-$pkgver-tauthon
|
||||
tauthon setup.py install --root "$pkgdir" --optimize=1
|
||||
|
||||
# license
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user