[arch-commits] Commit in python2-backports.functools_lru_cache/repos/extra-any (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Dec 15 08:25:49 UTC 2021
Date: Wednesday, December 15, 2021 @ 08:25:49
Author: arojas
Revision: 432543
archrelease: copy trunk to extra-any
Added:
python2-backports.functools_lru_cache/repos/extra-any/PKGBUILD
(from rev 432542, python2-backports.functools_lru_cache/trunk/PKGBUILD)
Deleted:
python2-backports.functools_lru_cache/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++-------------------------------------
1 file changed, 26 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-15 08:25:38 UTC (rev 432542)
+++ PKGBUILD 2021-12-15 08:25:49 UTC (rev 432543)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Crass00 <crass00 @ hotmail . com>
-
-pkgname=python2-backports.functools_lru_cache
-pkgver=1.6.4
-pkgrel=1
-pkgdesc="Backport of functools.lru_cache from Python 3.3"
-arch=('any')
-url="https://github.com/jaraco/backports.functools_lru_cache"
-license=('MIT')
-depends=('python2-backports')
-makedepends=('python2-setuptools-scm')
-checkdepends=('python2-pytest')
-source=("https://pypi.io/packages/source/b/backports.functools_lru_cache/backports.functools_lru_cache-$pkgver.tar.gz")
-sha512sums=('dab746440aeff8a411438f26f5c9a863929c41139c83bcfae51dcf29650c8e9d394b53a5f03b4e31ab7abd6a57249d719f155672e5585efb5f1851c8fe0a3de5')
-
-prepare() {
- cd backports.functools_lru_cache-$pkgver
- # Style or coverage checks are not relevant for us
- sed -i 's/--flake8 --black --cov//' pytest.ini
-}
-
-build() {
- cd backports.functools_lru_cache-$pkgver
- python2 setup.py build
-}
-
-check() {
- cd backports.functools_lru_cache-$pkgver
- python2 -m pytest
-}
-
-package() {
- cd backports.functools_lru_cache-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- rm "$pkgdir"/usr/lib/python2.7/site-packages/backports/__init__.py*
-}
Copied: python2-backports.functools_lru_cache/repos/extra-any/PKGBUILD (from rev 432542, python2-backports.functools_lru_cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-15 08:25:49 UTC (rev 432543)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Crass00 <crass00 @ hotmail . com>
+
+pkgname=python2-backports.functools_lru_cache
+pkgver=1.6.4
+pkgrel=2
+pkgdesc="Backport of functools.lru_cache from Python 3.3"
+arch=('any')
+url="https://github.com/jaraco/backports.functools_lru_cache"
+license=('MIT')
+depends=('python2-backports')
+makedepends=('python2-setuptools-scm')
+source=("https://pypi.io/packages/source/b/backports.functools_lru_cache/backports.functools_lru_cache-$pkgver.tar.gz")
+sha512sums=('dab746440aeff8a411438f26f5c9a863929c41139c83bcfae51dcf29650c8e9d394b53a5f03b4e31ab7abd6a57249d719f155672e5585efb5f1851c8fe0a3de5')
+
+build() {
+ cd backports.functools_lru_cache-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd backports.functools_lru_cache-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ rm "$pkgdir"/usr/lib/python2.7/site-packages/backports/__init__.py*
+}
More information about the arch-commits
mailing list