Date: Tuesday, November 8, 2022 @ 13:01:59
  Author: felixonmars
Revision: 1345930

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   98 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-08 13:01:44 UTC (rev 1345929)
+++ PKGBUILD    2022-11-08 13:01:59 UTC (rev 1345930)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Morten Linderud <[email protected]>
-# Contributor: Lance Chen <[email protected]>
-
-_pypiname=wheel
-pkgname=python-wheel
-pkgver=0.38.0
-pkgrel=1
-pkgdesc="A built-package format for Python"
-arch=(any)
-url="https://pypi.python.org/pypi/wheel";
-license=('MIT')
-depends=('python-packaging')
-optdepends=('python-keyring: for wheel.signatures'
-            'python-xdg: for wheel.signatures')
-makedepends=('python-setuptools')
-checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 
'python-keyrings-alt'
-              'python-xdg' 'python-pytest-cov')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz";)
-sha512sums=('0ffdf531c03d1f0866632002b163fdf8642b613604e74d1cfa5844e8c327946baf303bc0410fc7ec034f8a79cb4ad59536dfdaaa5cc8fa23a3b7d21faf5e6161')
-
-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
-}
-
-build() {
-  cd "$srcdir/wheel-$pkgver"
-  python 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.10/site-packages:$PYTHONPATH" 
py.test
-}
-
-package() {
-  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"
-}

Copied: python-wheel/repos/community-any/PKGBUILD (from rev 1345929, 
python-wheel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-08 13:01:59 UTC (rev 1345930)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Lance Chen <[email protected]>
+
+_pypiname=wheel
+pkgname=python-wheel
+pkgver=0.38.1
+pkgrel=1
+pkgdesc="A built-package format for Python"
+arch=(any)
+url="https://pypi.python.org/pypi/wheel";
+license=('MIT')
+depends=('python-packaging')
+optdepends=('python-keyring: for wheel.signatures'
+            'python-xdg: for wheel.signatures')
+makedepends=('python-setuptools')
+checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 
'python-keyrings-alt'
+              'python-xdg' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz";)
+sha512sums=('1818b50a4ee50861aac3c9ac4058c5fee2de4a428ca04e7a9b1ce570dab6f1b64f4528f812aa23e87705ed15e360d0bd5b01523bd4360875c25054b1ccbf9179')
+
+prepare() {
+  cd wheel-$pkgver
+  # don't depend on python-coverage for tests
+  sed -i 's/--cov=wheel//' setup.cfg
+
+  # https://github.com/pypa/wheel/pull/365 but why?
+  rm -r src/wheel/vendored
+  sed -i 's/from .vendored.packaging import tags/from packaging import tags/' 
src/wheel/bdist_wheel.py
+  sed -i 's/from wheel.vendored.packaging import tags/from packaging import 
tags/' tests/test_bdist_wheel.py
+}
+
+build() {
+  cd wheel-$pkgver
+  python 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.10/site-packages" pytest
+}
+
+package() {
+  cd wheel-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to