[arch-commits] Commit in python2-backports-abc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:21:03 UTC 2018
Date: Friday, November 9, 2018 @ 23:21:01
Author: felixonmars
Revision: 405254
archrelease: copy trunk to community-staging-any
Added:
python2-backports-abc/repos/community-staging-any/
python2-backports-abc/repos/community-staging-any/PKGBUILD
(from rev 405253, python2-backports-abc/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python2-backports-abc/repos/community-staging-any/PKGBUILD (from rev 405253, python2-backports-abc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 23:21:01 UTC (rev 405254)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-backports-abc
+pkgver=0.5
+pkgrel=2
+pkgdesc="A backport of recent additions to the 'collections.abc' module."
+arch=('any')
+url='http://pypi.python.org/pypi/backports_abc'
+license=('PSF')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/b/backports_abc/backports_abc-${pkgver}.tar.gz")
+sha256sums=('033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde')
+
+check() {
+ cd backports_abc-${pkgver}
+ python2 tests.py
+}
+
+package() {
+ cd backports_abc-${pkgver}
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list