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

Felix Yan felixonmars at archlinux.org
Tue Nov 27 14:50:00 UTC 2018


    Date: Tuesday, November 27, 2018 @ 14:49:59
  Author: felixonmars
Revision: 409976

archrelease: copy trunk to community-testing-any

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

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

Copied: python-parver/repos/community-testing-any/PKGBUILD (from rev 409975, python-parver/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-11-27 14:49:59 UTC (rev 409976)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parver
+pkgver=0.2
+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=('bbf86d1897d6967d38b624665c9790144eca042deca00c1b40a3d0d1e2019ad28b3643a91955293d8f07ed06e65e1217c675ccfe37e7842a544fc25e0618ee6b')
+
+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