[arch-commits] Commit in python-resolvelib/repos/extra-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Mon Nov 29 19:18:10 UTC 2021
Date: Monday, November 29, 2021 @ 19:18:10
Author: jelle
Revision: 429471
archrelease: copy trunk to extra-any
Added:
python-resolvelib/repos/extra-any/PKGBUILD
(from rev 429470, python-resolvelib/trunk/PKGBUILD)
Deleted:
python-resolvelib/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++------------------------------------
1 file changed, 31 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 19:18:00 UTC (rev 429470)
+++ PKGBUILD 2021-11-29 19:18:10 UTC (rev 429471)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-resolvelib
-pkgname=(python-resolvelib python2-resolvelib)
-pkgver=0.5.5
-pkgrel=1
-pkgdesc="Resolve abstract dependencies into concrete ones"
-url="https://github.com/sarugaku/resolvelib"
-license=('ISC')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-commentjson' 'python-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/sarugaku/resolvelib/archive/$pkgver.tar.gz")
-sha512sums=('3da39201c4472d45466750119282fc34591b6d79eb4e6e71ca3f221e43dceead213058b4b72bee00083e9885650a47486bd7496264fba10f623aec7c19dabf00')
-
-build() {
- cd resolvelib-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd resolvelib-$pkgver
- python setup.py pytest
-}
-
-package_python-resolvelib() {
- depends=('python')
-
- cd resolvelib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-package_python2-resolvelib() {
- depends=('python2')
-
- cd resolvelib-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-resolvelib/repos/extra-any/PKGBUILD (from rev 429470, python-resolvelib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 19:18:10 UTC (rev 429471)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-resolvelib
+pkgver=0.5.5
+pkgrel=2
+pkgdesc="Resolve abstract dependencies into concrete ones"
+url="https://github.com/sarugaku/resolvelib"
+license=('ISC')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-commentjson' 'python-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/sarugaku/resolvelib/archive/$pkgver.tar.gz")
+sha512sums=('3da39201c4472d45466750119282fc34591b6d79eb4e6e71ca3f221e43dceead213058b4b72bee00083e9885650a47486bd7496264fba10f623aec7c19dabf00')
+
+build() {
+ cd resolvelib-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd resolvelib-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd resolvelib-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list