diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-10-04 13:48:56 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-10-04 13:48:56 (GMT) |
commit | c887862ca485015e48c6e6ec5a454fff384530c2 (patch) | |
tree | a70e498847bc2760ad0fa9b75bae32396dd0774f /abs | |
parent | 80e6b93b38ec87fec5aea4fc98c7043bb0559276 (diff) | |
download | linhes_pkgbuild-c887862ca485015e48c6e6ec5a454fff384530c2.zip linhes_pkgbuild-c887862ca485015e48c6e6ec5a454fff384530c2.tar.gz linhes_pkgbuild-c887862ca485015e48c6e6ec5a454fff384530c2.tar.bz2 |
python-packaging: update 20.4
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/python-packaging/PKGBUILD | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/abs/core/python_modules/python-packaging/PKGBUILD b/abs/core/python_modules/python-packaging/PKGBUILD index 34a48bc..d23b937 100644 --- a/abs/core/python_modules/python-packaging/PKGBUILD +++ b/abs/core/python_modules/python-packaging/PKGBUILD @@ -1,49 +1,41 @@ -# $Id$ # Maintainer: Felix Yan <felixonmars@archlinux.org> pkgbase=python-packaging pkgname=(python-packaging python2-packaging) -pkgver=16.8 -pkgrel=3 +pkgver=20.4 +pkgrel=1 pkgdesc="Core utilities for Python packages" arch=('any') url="https://github.com/pypa/packaging" license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing' 'git') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend' 'python-coverage' 'python2-coverage') -source=("git+https://github.com/pypa/packaging.git#tag=$pkgver") -md5sums=('SKIP') - -prepare() { - cp -a packaging{,-py2} -} +makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend' + 'python-coverage' 'python2-coverage') +source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz") +sha512sums=('d53912041a9950efb5d221fc968adc328c2ef1e54ec9806d2158fd6db1b170e37afb05213f5750b10c59927504083ca3781c958caa0c802b1c7c0fe1ac1682a4') build() { - cd "$srcdir"/packaging + cd packaging-$pkgver python setup.py build - - cd "$srcdir"/packaging-py2 python2 setup.py build } check() { - cd "$srcdir"/packaging - python setup.py ptr - - cd "$srcdir"/packaging-py2 - python2 setup.py ptr + cd packaging-$pkgver + python setup.py pytest + python2 setup.py pytest } package_python-packaging() { depends=('python-pyparsing' 'python-six') - cd "$srcdir"/packaging + cd packaging-$pkgver python setup.py install --root "$pkgdir" } package_python2-packaging() { depends=('python2-pyparsing' 'python2-six') - cd "$srcdir"/packaging-py2 + cd packaging-$pkgver python2 setup.py install --root "$pkgdir" } |