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

Felix Yan felixonmars at archlinux.org
Tue Dec 1 10:32:00 UTC 2020


    Date: Tuesday, December 1, 2020 @ 10:32:00
  Author: felixonmars
Revision: 767155

archrelease: copy trunk to community-testing-any

Added:
  python-wheel/repos/community-testing-any/PKGBUILD
    (from rev 767154, python-wheel/trunk/PKGBUILD)
Deleted:
  python-wheel/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-01 10:31:49 UTC (rev 767154)
+++ PKGBUILD	2020-12-01 10:32:00 UTC (rev 767155)
@@ -1,72 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Lance Chen <cyen0312 at gmail.com>
-
-_pypiname=wheel
-pkgbase=python-wheel
-pkgname=('python-wheel' 'python2-wheel')
-pkgver=0.35.1
-pkgrel=4
-pkgdesc="A built-package format for Python"
-arch=(any)
-url="https://pypi.python.org/pypi/wheel"
-license=('MIT')
-makedepends=('python-packaging' 'python-setuptools'
-             'python2-packaging' 'python2-setuptools')
-checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
-              'python-xdg')
-source=("https://pypi.io/packages/source/w/wheel/$_pypiname-$pkgver.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
-sha512sums=('34cd6d1a649842abd895418c0183e68f44e228be905041e1dd8562987fbab8aa617da9b78479cb8d56fb6bb8714ec1085b87640c385bfc933e215f6e33ccf55b')
-
-prepare() {
-  # don't depend on python-coverage for tests
-  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
-
-  # https://github.com/pypa/wheel/pull/365 but why?
-  rm -r wheel-$pkgver/src/wheel/vendored
-  sed -i 's/from .vendored.packaging import tags/from packaging import tags/' wheel-$pkgver/src/wheel/bdist_wheel.py
-
-  cp -a wheel-$pkgver{,-py2}
-}
-
-build() {
-  export PYTHONHASHSEED=0
-
-  cd "$srcdir/wheel-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/wheel-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd wheel-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" py.test
-}
-
-package_python-wheel() {
-  depends=('python-packaging')
-  optdepends=('python-keyring: for wheel.signatures')
-  optdepends=('python-xdg: for wheel.signatures')
-
-  cd "$srcdir/$_pypiname-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-package_python2-wheel() {
-  depends=('python2-packaging')
-  optdepends=('python2-keyring: for wheel.signatures')
-  optdepends=('python2-xdg: for wheel.signatures')
-
-  cd "$srcdir/$_pypiname-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-  mv "$pkgdir/usr/bin/wheel" "$pkgdir/usr/bin/wheel2"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-wheel/repos/community-testing-any/PKGBUILD (from rev 767154, python-wheel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-01 10:32:00 UTC (rev 767155)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+_pypiname=wheel
+pkgbase=python-wheel
+pkgname=('python-wheel' 'python2-wheel')
+pkgver=0.36.0
+pkgrel=1
+pkgdesc="A built-package format for Python"
+arch=(any)
+url="https://pypi.python.org/pypi/wheel"
+license=('MIT')
+makedepends=('python-packaging' 'python-setuptools'
+             'python2-packaging' 'python2-setuptools')
+checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 'python-keyrings-alt'
+              'python-xdg')
+source=("https://pypi.io/packages/source/w/wheel/$_pypiname-$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz")
+sha512sums=('1f851dfc18fa96d67bb96c61eec15999c46ea77c490173b71121810480f3c30f2de770a2e6e0712d04f35c91fcadbb276b05968e2b5db76dea882929f555f983')
+
+prepare() {
+  # don't depend on python-coverage for tests
+  sed -i 's/--cov=wheel//' wheel-$pkgver/setup.cfg
+
+  # https://github.com/pypa/wheel/pull/365 but why?
+  rm -r wheel-$pkgver/src/wheel/vendored
+  sed -i 's/from .vendored.packaging import tags/from packaging import tags/' wheel-$pkgver/src/wheel/bdist_wheel.py
+
+  cp -a wheel-$pkgver{,-py2}
+}
+
+build() {
+  export PYTHONHASHSEED=0
+
+  cd "$srcdir/wheel-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/wheel-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd wheel-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" py.test
+}
+
+package_python-wheel() {
+  depends=('python-packaging')
+  optdepends=('python-keyring: for wheel.signatures')
+  optdepends=('python-xdg: for wheel.signatures')
+
+  cd "$srcdir/$_pypiname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+package_python2-wheel() {
+  depends=('python2-packaging')
+  optdepends=('python2-keyring: for wheel.signatures')
+  optdepends=('python2-xdg: for wheel.signatures')
+
+  cd "$srcdir/$_pypiname-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+  mv "$pkgdir/usr/bin/wheel" "$pkgdir/usr/bin/wheel2"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list