[arch-commits] Commit in python-packaging/repos/extra-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Sep 9 13:25:32 UTC 2021
Date: Thursday, September 9, 2021 @ 13:25:32
Author: foutrelis
Revision: 423671
archrelease: copy trunk to extra-any
Added:
python-packaging/repos/extra-any/PKGBUILD
(from rev 423670, python-packaging/trunk/PKGBUILD)
Deleted:
python-packaging/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-09 13:25:27 UTC (rev 423670)
+++ PKGBUILD 2021-09-09 13:25:32 UTC (rev 423671)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-packaging
-pkgname=(python-packaging python2-packaging)
-pkgver=20.9
-pkgrel=1
-pkgdesc="Core utilities for Python packages"
-arch=('any')
-url="https://github.com/pypa/packaging"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing')
-checkdepends=('python-pytest' 'python2-pytest' 'python-pretend' 'python2-pretend'
- 'python-coverage' 'python2-coverage')
-source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
-sha512sums=('fb71f1036cfaacbe94fdee663af31d6ad1960f73ecc95cba87b461c2d7d2ea90085853bb4682b146492d8c48f784b60ef082e3b1259269857166b143cd9a920b')
-
-build() {
- cd packaging-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd packaging-$pkgver
- python -m pytest
- python2 -m pytest
-}
-
-package_python-packaging() {
- depends=('python-pyparsing' 'python-six')
-
- cd packaging-$pkgver
- python setup.py install --root "$pkgdir"
-}
-
-package_python2-packaging() {
- depends=('python2-pyparsing' 'python2-six')
-
- cd packaging-$pkgver
- python2 setup.py install --root "$pkgdir"
-}
Copied: python-packaging/repos/extra-any/PKGBUILD (from rev 423670, python-packaging/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-09 13:25:32 UTC (rev 423671)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.9
+pkgrel=2
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing')
+checkdepends=('python-pytest' 'python2-pytest' 'python-pretend' 'python2-pretend')
+source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
+sha512sums=('fb71f1036cfaacbe94fdee663af31d6ad1960f73ecc95cba87b461c2d7d2ea90085853bb4682b146492d8c48f784b60ef082e3b1259269857166b143cd9a920b')
+
+build() {
+ cd packaging-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd packaging-$pkgver
+ python -m pytest
+ python2 -m pytest
+}
+
+package_python-packaging() {
+ depends=('python-pyparsing' 'python-six')
+
+ cd packaging-$pkgver
+ python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+ depends=('python2-pyparsing' 'python2-six')
+
+ cd packaging-$pkgver
+ python2 setup.py install --root "$pkgdir"
+}
More information about the arch-commits
mailing list