[arch-commits] Commit in python-backports.csv (trunk trunk/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Sat May 25 08:29:36 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:29:36
  Author: bluewind
Revision: 469888

Add python-backports.csv for python-internetarchive

Added:
  python-backports.csv/trunk/
  python-backports.csv/trunk/PKGBUILD

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2019-05-25 08:29:36 UTC (rev 469888)
@@ -0,0 +1,22 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: fzerorubigd <fzero at rubi.gd>
+_pkgmain=backports.csv
+pkgname=python-$_pkgmain
+pkgver=1.0.6
+pkgrel=2
+pkgdesc="Backport of Python 3 csv module."
+arch=('any')
+url="https://github.com/ryanhiebert/backports.csv"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+options=(!emptydirs)
+source=($pkgname-$pkgver.zip::https://github.com/ryanhiebert/backports.csv/archive/${pkgver}.zip)
+
+package() {
+  cd "$srcdir/$_pkgmain-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+}
+
+md5sums=('f3fa0a34a9e49dc5df78e7b487e94900')


More information about the arch-commits mailing list