Date: Tuesday, October 20, 2020 @ 09:25:40 Author: felixonmars Revision: 727557
archrelease: copy trunk to community-any Added: python-semver/repos/community-any/PKGBUILD (from rev 727556, python-semver/trunk/PKGBUILD) Deleted: python-semver/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-20 09:25:26 UTC (rev 727556) +++ PKGBUILD 2020-10-20 09:25:40 UTC (rev 727557) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-semver -pkgver=2.11.0 -pkgrel=1 -pkgdesc="Python helper for Semantic Versioning" -url="https://github.com/k-bx/python-semver" -license=('BSD') -arch=('any') -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-pytest-cov') -source=("$pkgname-$pkgver.tar.gz::https://github.com/k-bx/python-semver/archive/$pkgver.tar.gz") -sha512sums=('833073fe4c245666c9d5298bb82718be82b891488b73968c656899b002296758db9d43fc58187aeed59eb0c235b0ef1837a58df75ffa5451f8808467f8b2f905') - -prepare() { - sed -i '/tests_require/d' python-semver-$pkgver/setup.py -} - -build() { - cd "$srcdir"/python-semver-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/python-semver-$pkgver - python setup.py pytest -} - -package() { - cd python-semver-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} Copied: python-semver/repos/community-any/PKGBUILD (from rev 727556, python-semver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-20 09:25:40 UTC (rev 727557) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-semver +pkgver=2.12.0 +pkgrel=1 +pkgdesc="Python helper for Semantic Versioning" +url="https://github.com/k-bx/python-semver" +license=('BSD') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-pytest-cov') +source=("$pkgname-$pkgver.tar.gz::https://github.com/k-bx/python-semver/archive/$pkgver.tar.gz") +sha512sums=('77d870d1991df754013fb667b07bef15867ee645023c8ddedf09bb56bd099463f8518b48bad5943d8de6ebbf102941b640adcdb9210dcd6e11a8f0fff7eb44f5') + +prepare() { + sed -i '/tests_require/d' python-semver-$pkgver/setup.py +} + +build() { + cd "$srcdir"/python-semver-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/python-semver-$pkgver + python setup.py pytest +} + +package() { + cd python-semver-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +}