[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat Aug 11 03:49:37 UTC 2018


    Date: Saturday, August 11, 2018 @ 03:49:37
  Author: felixonmars
Revision: 370957

addpkg: python-parver 0.1.1-1

Added:
  python-parver/
  python-parver/repos/
  python-parver/trunk/
  python-parver/trunk/PKGBUILD

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

Added: python-parver/trunk/PKGBUILD
===================================================================
--- python-parver/trunk/PKGBUILD	                        (rev 0)
+++ python-parver/trunk/PKGBUILD	2018-08-11 03:49:37 UTC (rev 370957)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parver
+pkgver=0.1.1
+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=('d79a4981f3ad77180c5a9c5972410714a1be075308c933bde6af499c25aaa2f82034afb27c0b4c4d7ca269d645285a953a91ea6f945fcac663250ed06ae3accb')
+
+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
+}


Property changes on: python-parver/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list