[arch-commits] Commit in python-wheel/trunk (PKGBUILD)

2021-12-23 Thread Morten Linderud via arch-commits
Date: Thursday, December 23, 2021 @ 13:38:10
  Author: foxboron
Revision: 1083197

upgpkg: python-wheel 0.37.1-1

Modified:
  python-wheel/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-23 13:37:01 UTC (rev 1083196)
+++ PKGBUILD2021-12-23 13:38:10 UTC (rev 1083197)
@@ -4,8 +4,8 @@
 
 _pypiname=wheel
 pkgname=python-wheel
-pkgver=0.37.0
-pkgrel=5
+pkgver=0.37.1
+pkgrel=1
 pkgdesc="A built-package format for Python"
 arch=(any)
 url="https://pypi.python.org/pypi/wheel;
@@ -15,9 +15,9 @@
 'python-xdg: for wheel.signatures')
 makedepends=('python-setuptools')
 checkdepends=('python-jsonschema' 'python-pytest' 'python-keyring' 
'python-keyrings-alt'
-  'python-xdg')
+  'python-xdg' 'python-pytest-cov')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/wheel/archive/$pkgver.tar.gz;)
-sha512sums=('2e0eb1c5560a0229be9de450da8b2bc62153744abb6d8ab9a0625c150dc00d3fc3e24dbe37cc26f4ca6b6876b5c63298427b2076ee42b8f772c75010bfc135a8')
+sha512sums=('9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457')
 
 prepare() {
   # don't depend on python-coverage for tests



[arch-commits] Commit in python-wheel/trunk (PKGBUILD)

2021-12-15 Thread Antonio Rojas via arch-commits
Date: Wednesday, December 15, 2021 @ 12:06:53
  Author: arojas
Revision: 1072992

Drop python2

Modified:
  python-wheel/trunk/PKGBUILD

--+
 PKGBUILD |   33 +++--
 1 file changed, 7 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-15 12:03:40 UTC (rev 1072991)
+++ PKGBUILD2021-12-15 12:06:53 UTC (rev 1072992)
@@ -3,19 +3,19 @@
 # Contributor: Lance Chen 
 
 _pypiname=wheel
-pkgbase=python-wheel
-pkgname=('python-wheel' 'python2-wheel')
+pkgname=python-wheel
 pkgver=0.37.0
-pkgrel=4
+pkgrel=5
 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')
+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')
-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=('2e0eb1c5560a0229be9de450da8b2bc62153744abb6d8ab9a0625c150dc00d3fc3e24dbe37cc26f4ca6b6876b5c63298427b2076ee42b8f772c75010bfc135a8')
 
@@ -26,16 +26,11 @@
   # 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() {
   cd "$srcdir/wheel-$pkgver"
   python setup.py build
-
-  cd "$srcdir/wheel-$pkgver-py2"
-  python2 setup.py build
 }
 
 check() {
@@ -46,22 +41,8 @@
   PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" 
py.test
 }
 
-package_python-wheel() {
-  depends=('python-packaging')
-  optdepends=('python-keyring: for wheel.signatures'
-  'python-xdg: for wheel.signatures')
-
+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"
 }
-
-package_python2-wheel() {
-  depends=('python2-packaging')
-  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:



[arch-commits] Commit in python-wheel/trunk (PKGBUILD)

2021-11-30 Thread Felix Yan via arch-commits
Date: Tuesday, November 30, 2021 @ 15:49:51
  Author: felixonmars
Revision: 1057808

upgpkg: python-wheel 0.37.0-3: Python 3.10 rebuild

Modified:
  python-wheel/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-30 15:48:18 UTC (rev 1057807)
+++ PKGBUILD2021-11-30 15:49:51 UTC (rev 1057808)
@@ -6,7 +6,7 @@
 pkgbase=python-wheel
 pkgname=('python-wheel' 'python2-wheel')
 pkgver=0.37.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A built-package format for Python"
 arch=(any)
 url="https://pypi.python.org/pypi/wheel;



[arch-commits] Commit in python-wheel/trunk (PKGBUILD)

2021-10-30 Thread Morten Linderud via arch-commits
Date: Saturday, October 30, 2021 @ 16:38:40
  Author: foxboron
Revision: 1034988

upgpkg: python-wheel 0.37.0-2

Modified:
  python-wheel/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-30 15:24:22 UTC (rev 1034987)
+++ PKGBUILD2021-10-30 16:38:40 UTC (rev 1034988)
@@ -6,7 +6,7 @@
 pkgbase=python-wheel
 pkgname=('python-wheel' 'python2-wheel')
 pkgver=0.37.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A built-package format for Python"
 arch=(any)
 url="https://pypi.python.org/pypi/wheel;
@@ -48,8 +48,8 @@
 
 package_python-wheel() {
   depends=('python-packaging')
-  optdepends=('python-keyring: for wheel.signatures')
-  optdepends=('python-xdg: for wheel.signatures')
+  optdepends=('python-keyring: for wheel.signatures'
+  'python-xdg: for wheel.signatures')
 
   cd "$srcdir/$_pypiname-$pkgver"
   python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
@@ -58,9 +58,6 @@
 
 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"



[arch-commits] Commit in python-wheel/trunk (PKGBUILD)

2021-08-10 Thread Felix Yan via arch-commits
Date: Tuesday, August 10, 2021 @ 16:37:13
  Author: felixonmars
Revision: 997387

upgpkg: python-wheel 0.37.0-1

Modified:
  python-wheel/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-10 16:37:00 UTC (rev 997386)
+++ PKGBUILD2021-08-10 16:37:13 UTC (rev 997387)
@@ -5,7 +5,7 @@
 _pypiname=wheel
 pkgbase=python-wheel
 pkgname=('python-wheel' 'python2-wheel')
-pkgver=0.36.2
+pkgver=0.37.0
 pkgrel=1
 pkgdesc="A built-package format for Python"
 arch=(any)
@@ -17,7 +17,7 @@
   '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=('23f3dd0540ecc8e762f37a4bb69713abe99125a605c03b1a3412cec910fb7a6cea3eee3910d7c98122b276170a17414c9132b57b57a30a4ba1283cea8f9e20fa')
+sha512sums=('2e0eb1c5560a0229be9de450da8b2bc62153744abb6d8ab9a0625c150dc00d3fc3e24dbe37cc26f4ca6b6876b5c63298427b2076ee42b8f772c75010bfc135a8')
 
 prepare() {
   # don't depend on python-coverage for tests