Date: Friday, May 29, 2020 @ 18:04:48 Author: felixonmars Revision: 637196
archrelease: copy trunk to community-any Added: python-pint/repos/community-any/PKGBUILD (from rev 637195, python-pint/trunk/PKGBUILD) Deleted: python-pint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-29 18:04:37 UTC (rev 637195) +++ PKGBUILD 2020-05-29 18:04:48 UTC (rev 637196) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Matthew Sloan matt...@sloan.cc - -pkgname=python-pint -pkgver=0.11 -pkgrel=1 -pkgdesc="A unit library for Python" -arch=('any') -license=('BSD') -url="https://pint.readthedocs.org" -depends=('python') -makedepends=('python-setuptools-scm') -checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') -source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz") -sha512sums=('7968002dffba27ab99f05022365301db57256913b2a09b44ef755be7dee42ae740793cb1f6a24950c585ec6ed35ee83283402f611c11a8394c22b391329a13cd') - -prepare() { - cd Pint-$pkgver - sed -i 's/pkg_resources.extern.//' pint/quantity.py -} - -check() { - cd Pint-$pkgver - python setup.py pytest -} - -package() { - cd Pint-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-pint/repos/community-any/PKGBUILD (from rev 637195, python-pint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-29 18:04:48 UTC (rev 637196) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Matthew Sloan matt...@sloan.cc + +pkgname=python-pint +pkgver=0.12 +pkgrel=1 +pkgdesc="A unit library for Python" +arch=('any') +license=('BSD') +url="https://pint.readthedocs.org" +depends=('python') +makedepends=('python-setuptools-scm') +checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') +source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz") +sha512sums=('e8d26a5bb2cdb1b2ad82c1c570c6e000451b985af03adef3df6e657473e7ada0b96a45b54981d7fbf3a3172ff287c9f60a05e6f7684b909ebfd4c31929f16ce4') + +prepare() { + cd Pint-$pkgver + sed -i 's/pkg_resources.extern.//' pint/quantity.py +} + +check() { + cd Pint-$pkgver + python setup.py pytest +} + +package() { + cd Pint-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}