[arch-commits] Commit in python-packaging/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 12:03:12 UTC 2020
Date: Monday, November 9, 2020 @ 12:03:12
Author: felixonmars
Revision: 399693
archrelease: copy trunk to staging-any
Added:
python-packaging/repos/staging-any/PKGBUILD
(from rev 399692, python-packaging/trunk/PKGBUILD)
Deleted:
python-packaging/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-09 12:03:00 UTC (rev 399692)
+++ PKGBUILD 2020-11-09 12:03:12 UTC (rev 399693)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-packaging
-pkgname=(python-packaging python2-packaging)
-pkgver=20.4
-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-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend'
- 'python-coverage' 'python2-coverage')
-source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz")
-sha512sums=('d53912041a9950efb5d221fc968adc328c2ef1e54ec9806d2158fd6db1b170e37afb05213f5750b10c59927504083ca3781c958caa0c802b1c7c0fe1ac1682a4')
-
-build() {
- cd packaging-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd packaging-$pkgver
- python setup.py pytest
- python2 setup.py 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/staging-any/PKGBUILD (from rev 399692, python-packaging/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-09 12:03:12 UTC (rev 399693)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.4
+pkgrel=3
+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-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend'
+ 'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz")
+sha512sums=('d53912041a9950efb5d221fc968adc328c2ef1e54ec9806d2158fd6db1b170e37afb05213f5750b10c59927504083ca3781c958caa0c802b1c7c0fe1ac1682a4')
+
+build() {
+ cd packaging-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd packaging-$pkgver
+ python setup.py pytest
+ python2 setup.py 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