[arch-commits] Commit in python-packaging/repos/testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 30 23:44:43 UTC 2020
Date: Monday, November 30, 2020 @ 23:44:43
Author: felixonmars
Revision: 402442
archrelease: copy trunk to testing-any
Added:
python-packaging/repos/testing-any/PKGBUILD
(from rev 402441, python-packaging/trunk/PKGBUILD)
Deleted:
python-packaging/repos/testing-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-30 23:44:32 UTC (rev 402441)
+++ PKGBUILD 2020-11-30 23:44:43 UTC (rev 402442)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-packaging
-pkgname=(python-packaging python2-packaging)
-pkgver=20.5
-pkgrel=1
-pkgdesc="Core utilities for Python packages"
-arch=('any')
-url="https://github.com/pypa/packaging"
-license=('Apache')
-makedepends=('python-dephell' '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=('ef3c4853c30d9635b9372d6861cc0df8f7fc5a1d784e5f3effe3f315da0f24662ac939e70f55c6e9bb8864da95b9f75bc0df093f12c0f5c2af654b5354a5f081')
-
-prepare() {
- cd packaging-$pkgver
-
- # poetry-generated setup.py is badly broken in several ways, including
- # distribution of tests in the built package as well as using distutils for
- # bad metadata. See https://github.com/sdispater/poetry/issues/866
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-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/testing-any/PKGBUILD (from rev 402441, python-packaging/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-30 23:44:43 UTC (rev 402442)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.6
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging"
+license=('Apache')
+makedepends=('python-dephell' '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=('27f1cbc41dd7188e4f9fca3ebdd5d6ace7938cf4c3d5ed0ea5fe22113f13ddd924d073ef547670739b451564077654a7a6e6852219da11b201774fa1c63f7104')
+
+prepare() {
+ cd packaging-$pkgver
+
+ # poetry-generated setup.py is badly broken in several ways, including
+ # distribution of tests in the built package as well as using distutils for
+ # bad metadata. See https://github.com/sdispater/poetry/issues/866
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+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