[arch-commits] Commit in python-backports.csv/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:34:39 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:34:38
  Author: foutrelis
Revision: 752678

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 752676, python-backports.csv/trunk/PKGBUILD)

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

Copied: python-backports.csv/repos/community-staging-any/PKGBUILD (from rev 752676, python-backports.csv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:34:38 UTC (rev 752678)
@@ -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=4
+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