index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2025-03-16 20:27:01 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2025-03-16 20:27:01 +0100 |
commit | 767096c97d9366f36ef531b49381f1a3b3326146 (patch) | |
tree | d7919877345a794eb55f580726eb0f3def1a178d /build-support/disabled/python-six-nocheck | |
parent | b79b42e58b90a54eb5644ae10d04b5bfde26fb75 (diff) |
-rw-r--r-- | build-support/disabled/python-six-nocheck/PKGBUILD | 32 |
diff --git a/build-support/disabled/python-six-nocheck/PKGBUILD b/build-support/disabled/python-six-nocheck/PKGBUILD new file mode 100644 index 00000000..4709e2ae --- /dev/null +++ b/build-support/disabled/python-six-nocheck/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Erich Eckner <deep42thought at archlinux32 dot org> +# Contributor: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jelle van der Waa <jelle@vdwaa.nl> +# Contributer: Allan McRae <allan@archlinux.org> + +# heavily borrowed from python-six's PKGBUILD + +pkgbase=python-six-nocheck +pkgname=('python-six-nocheck') +pkgver=1.15.0 +pkgrel=3 +pkgdesc="Python 2 and 3 compatibility utilities" +arch=('any') +url="https://pypi.python.org/pypi/six/" +license=('MIT') +makedepends=('python-setuptools') +source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz") +sha512sums=('eb840ac17f433f1fc4af56de75cfbfe0b54e6a737bb23c453bf09a4a13d768d153e46064880dc763f4c5cc2785b78ea6d3d3b4a41fed181cb9064837e3f699a9') + +build() { + cp -a six-$pkgver{,-py2} +} + +package_python-six-nocheck() { + depends=('python') + provides=("python-six=$pkgver") + conflicts=('python-six') + + cd six-$pkgver + python setup.py install --root "$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |