new bblfs: dev-python/six-1.17.0
This commit is contained in:
@@ -22,3 +22,4 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che
|
||||
- `icu` is not needed for `libxml2`
|
||||
- `net-misc/curl`+`app-arch/libarchive`+`dev-libs/libuv` -> `dev-build/cmake`
|
||||
- `dev-db/sqlite` -> rebuild `dev-lang/python`
|
||||
- `dev-python/six` -> `dev-debug/gdb`
|
||||
|
||||
29
dev-python/six-1.17.0.PKGBUILD
Normal file
29
dev-python/six-1.17.0.PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname=six
|
||||
pkgver=1.17.0
|
||||
pkgdesc="Python 2 and 3 compatibility utilities"
|
||||
arch=('any')
|
||||
homepage="https://pypi.python.org/pypi/six/"
|
||||
license=('MIT')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://files.pythonhosted.org/packages/source/s/${pkgname}/${sources[0]}")
|
||||
md5sums=("a0387fe15662c71057b4fb2b7aa9056a")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
python3 setup.py build
|
||||
#PYTHONDONTWRITEBYTECODE=1
|
||||
#pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
|
||||
}
|
||||
|
||||
src_check() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
|
||||
#pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name}
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
Reference in New Issue
Block a user