[arch-commits] Commit in python-backports.csv/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:10:47 UTC 2019
Date: Friday, October 25, 2019 @ 16:10:47
Author: felixonmars
Revision: 519411
archrelease: copy trunk to community-staging-any
Added:
python-backports.csv/repos/community-staging-any/
python-backports.csv/repos/community-staging-any/PKGBUILD
(from rev 519410, python-backports.csv/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: python-backports.csv/repos/community-staging-any/PKGBUILD (from rev 519410, python-backports.csv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:10:47 UTC (rev 519411)
@@ -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.7
+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=('e9b594a3d94317aaf51f5c3c79a8feaa')
More information about the arch-commits
mailing list