[arch-commits] Commit in python2-linecache2/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:41:11 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:41:11
Author: felixonmars
Revision: 659357
archrelease: copy trunk to community-staging-any
Added:
python2-linecache2/repos/community-staging-any/
python2-linecache2/repos/community-staging-any/PKGBUILD
(from rev 659356, python2-linecache2/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: python2-linecache2/repos/community-staging-any/PKGBUILD (from rev 659356, python2-linecache2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:41:11 UTC (rev 659357)
@@ -0,0 +1,21 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-linecache2
+pkgver=1.0.0
+pkgrel=3
+pkgdesc='Backports of the linecache module'
+arch=('any')
+url='https://pypi.python.org/pypi/linecache2'
+license=('PSF')
+depends=('python2')
+makedepends=('python2-setuptools' 'python2-pbr')
+source=("https://pypi.python.org/packages/source/l/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
+sha512sums=('e585a6e4c054c1965bc4241a1e36b57cb04f32b2d778df0ae4381975700497975251f509354d3622e36c82973c726a207b815f8b12060d9d583b6669a9eb279e')
+
+package() {
+ cd ${pkgname#*-}-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list