mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
08a66c4024
new pkg added to fullfill checkdepends new order file python3.order
23 lines
599 B
Bash
23 lines
599 B
Bash
|
|
pkgname=python2-backports-abc
|
|
pkgver=0.4
|
|
pkgrel=1
|
|
pkgdesc="A backport of recent additions to the 'collections.abc' module."
|
|
arch=('any')
|
|
url='http://pypi.python.org/pypi/backports_abc'
|
|
license=('PSF')
|
|
depends=('python2')
|
|
makedepends=('python2-setuptools')
|
|
source=("https://pypi.python.org/packages/source/b/backports_abc/backports_abc-${pkgver}.tar.gz")
|
|
sha256sums=('8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5')
|
|
|
|
check() {
|
|
cd backports_abc-${pkgver}
|
|
python2 tests.py
|
|
}
|
|
|
|
package() {
|
|
cd backports_abc-${pkgver}
|
|
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
}
|