[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat Sep 29 08:26:25 UTC 2018


    Date: Saturday, September 29, 2018 @ 08:26:24
  Author: felixonmars
Revision: 387683

addpkg: python2-dpcontracts 0.5.0-1

Added:
  python2-dpcontracts/
  python2-dpcontracts/repos/
  python2-dpcontracts/trunk/
  python2-dpcontracts/trunk/PKGBUILD

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

Added: python2-dpcontracts/trunk/PKGBUILD
===================================================================
--- python2-dpcontracts/trunk/PKGBUILD	                        (rev 0)
+++ python2-dpcontracts/trunk/PKGBUILD	2018-09-29 08:26:24 UTC (rev 387683)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-dpcontracts
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="A simple implementation of contracts for Python"
+url="https://github.com/deadpixi/contracts"
+license=('LGPL')
+arch=('any')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/d/dpcontracts/dpcontracts-$pkgver.tar.gz")
+sha512sums=('507dc68ff35908f73bbe29718cef78cc81a12caeb83afd03315566f1a5017a2d1029d5834be2e967f5ecf5cc3dd96534978b526cc174f6c670799299f0971c6f')
+
+build() {
+  cd dpcontracts-$pkgver
+  python2 setup.py build
+}
+
+package() {
+  cd dpcontracts-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list