[arch-commits] Commit in python2-backports.functools_lru_cache/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Dec 15 08:25:38 UTC 2021
Date: Wednesday, December 15, 2021 @ 08:25:38
Author: arojas
Revision: 432542
Don't test python 2
Modified:
python2-backports.functools_lru_cache/trunk/PKGBUILD
----------+
PKGBUILD | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-15 06:09:31 UTC (rev 432541)
+++ PKGBUILD 2021-12-15 08:25:38 UTC (rev 432542)
@@ -3,7 +3,7 @@
pkgname=python2-backports.functools_lru_cache
pkgver=1.6.4
-pkgrel=1
+pkgrel=2
pkgdesc="Backport of functools.lru_cache from Python 3.3"
arch=('any')
url="https://github.com/jaraco/backports.functools_lru_cache"
@@ -10,26 +10,14 @@
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
More information about the arch-commits
mailing list