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

Felix Yan felixonmars at archlinux.org
Fri Feb 21 13:41:34 UTC 2020


    Date: Friday, February 21, 2020 @ 13:41:33
  Author: felixonmars
Revision: 577529

archrelease: copy trunk to community-testing-any

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

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

Copied: python-parver/repos/community-testing-any/PKGBUILD (from rev 577528, python-parver/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-21 13:41:33 UTC (rev 577529)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parver
+pkgver=0.3
+pkgrel=1
+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=('0b31ee3c3fc24b056a97ccb9df10dec69ca66f4690b7f01ae84fbe583b77cf713b98d207eaf7a34c2192eecdf4077121154fe9b59aa83fe4836080cae729a90d')
+
+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