Date: Saturday, December 4, 2021 @ 20:43:40 Author: foutrelis Revision: 1065077
archrelease: copy trunk to community-staging-any Added: python-deprecation/repos/community-staging-any/PKGBUILD (from rev 1065076, python-deprecation/trunk/PKGBUILD) Deleted: python-deprecation/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-04 20:43:37 UTC (rev 1065076) +++ PKGBUILD 2021-12-04 20:43:40 UTC (rev 1065077) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-deprecation -pkgver=2.1.0 -pkgrel=5 -pkgdesc="A library to handle automated deprecations" -arch=('any') -license=('Apache') -url="https://deprecation.readthedocs.io" -depends=('python') -makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-$pkgver.tar.gz") -sha512sums=('c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275') - -prepare() { - sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py - - export LC_CTYPE=en_US.UTF-8 -} - -build() { - cd deprecation-$pkgver - python setup.py build -} - -check() { - cd deprecation-$pkgver - python -m unittest discover -} - -package() { - cd deprecation-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-deprecation/repos/community-staging-any/PKGBUILD (from rev 1065076, python-deprecation/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-04 20:43:40 UTC (rev 1065077) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-deprecation +pkgver=2.1.0 +pkgrel=6 +pkgdesc="A library to handle automated deprecations" +arch=('any') +license=('Apache') +url="https://deprecation.readthedocs.io" +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-$pkgver.tar.gz") +sha512sums=('c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275') + +prepare() { + sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py + + export LC_CTYPE=en_US.UTF-8 +} + +build() { + cd deprecation-$pkgver + python setup.py build +} + +check() { + cd deprecation-$pkgver + python -m unittest discover +} + +package() { + cd deprecation-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}