[arch-commits] Commit in python-packaging/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Mar 7 18:12:13 UTC 2020
Date: Saturday, March 7, 2020 @ 18:12:13
Author: felixonmars
Revision: 376896
archrelease: copy trunk to extra-any
Added:
python-packaging/repos/extra-any/PKGBUILD
(from rev 376895, python-packaging/trunk/PKGBUILD)
Deleted:
python-packaging/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-07 18:12:04 UTC (rev 376895)
+++ PKGBUILD 2020-03-07 18:12:13 UTC (rev 376896)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-packaging
-pkgname=(python-packaging python2-packaging)
-pkgver=20.2
-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-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=('ef792187c6c6a4aaa29b1323a5cdb833f10849d18b60b2ba36c166b86cd8e41dd4689554c1ccafe10048115b5124845a89359ba3d5f4cb87225d17399f1e0f04')
-
-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/extra-any/PKGBUILD (from rev 376895, python-packaging/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-07 18:12:13 UTC (rev 376896)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.3
+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-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=('b27ad6f72bfe0965a6e6bff78e4e37d4cbab73dc0a1b019673c85615c9d99edf237effeb9756702c6e8c1575a2d981f6d1af364c73d0a451fbb167d64678630f')
+
+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