[arch-commits] Commit in python-parver/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 16:53:47 UTC 2020
Date: Monday, November 9, 2020 @ 16:53:47
Author: felixonmars
Revision: 747673
archrelease: copy trunk to community-staging-any
Added:
python-parver/repos/community-staging-any/
python-parver/repos/community-staging-any/PKGBUILD
(from rev 747669, python-parver/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-parver/repos/community-staging-any/PKGBUILD (from rev 747669, python-parver/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:53:47 UTC (rev 747673)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parver
+pkgver=0.3.1
+pkgrel=2
+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