[arch-commits] Commit in python-parver/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 11:49:04 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:49:04
  Author: felixonmars
Revision: 1059256

archrelease: copy trunk to community-staging-any

Added:
  python-parver/repos/community-staging-any/
  python-parver/repos/community-staging-any/PKGBUILD
    (from rev 1059255, python-parver/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-parver/repos/community-staging-any/PKGBUILD (from rev 1059255, python-parver/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 11:49:04 UTC (rev 1059256)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parver
+pkgver=0.3.1
+pkgrel=4
+pkgdesc="Parse and manipulate version numbers"
+url="https://github.com/RazerM/parver"
+license=('MIT')
+arch=('any')
+depends=('python-arpeggio' 'python-attrs' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-hypothesis' 'python-pretend')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RazerM/parver/archive/$pkgver.tar.gz")
+sha512sums=('2ea7eb7be0c58657f5261d7b4729da6caaf2fac67db3fc3f36d29627bdbeba45f6ecb0e4bb251575b621908eb1ff5fa5ede5fc2ef0e041156dcc00548fd34360')
+
+build() {
+  cd parver-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd parver-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd parver-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list