[arch-commits] Commit in python-packaging/repos/testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Dec 1 10:08:16 UTC 2020


    Date: Tuesday, December 1, 2020 @ 10:08:12
  Author: felixonmars
Revision: 402454

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/PKGBUILD
    (from rev 402453, python-packaging/trunk/PKGBUILD)
Deleted:
  python-packaging/repos/testing-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-01 10:08:00 UTC (rev 402453)
+++ PKGBUILD	2020-12-01 10:08:12 UTC (rev 402454)
@@ -1,51 +0,0 @@
-# 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"
-}

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 402453, python-packaging/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-01 10:08:12 UTC (rev 402454)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.7
+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=('4da8f66af066ac92b47664d21af34a02526cd1639cb766927670bec0ac8c7416116834c847678a29862a46faeda7e2f2393744be315cdfbbb8bd55a04ceb942c')
+
+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