[arch-commits] Commit in python-bidict/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Thu Mar 31 00:17:56 UTC 2022
Date: Thursday, March 31, 2022 @ 00:17:55
Author: anthraxx
Revision: 1177890
archrelease: copy trunk to community-any
Added:
python-bidict/repos/community-any/PKGBUILD
(from rev 1177889, python-bidict/trunk/PKGBUILD)
Deleted:
python-bidict/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-31 00:17:52 UTC (rev 1177889)
+++ PKGBUILD 2022-03-31 00:17:55 UTC (rev 1177890)
@@ -1,36 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Omar Pakker <archlinux at opakker.nl>
-
-pkgname=python-bidict
-_name=${pkgname#python-}
-pkgver=0.21.4
-pkgrel=1
-pkgdesc='Bidirectional mapping library for Python'
-url='https://bidict.readthedocs.org/'
-arch=('any')
-license=('MPL2')
-depends=('python')
-makedepends=('python-setuptools' 'python-pip' 'python-wheel')
-checkdepends=('python-pytest' 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-pytest-benchmark'
- 'python-hypothesis' 'python-py-cpuinfo' 'python-sortedcollections')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
-sha256sums=('42c84ffbe6f8de898af6073b4be9ea7ccedcd78d3474aa844c54e49d5a079f6f')
-b2sums=('36933b070a30c5f64c28dda2efccc1d22a8a56a5b13b25c14f240a3bf6ee17d1f2cfee0b6d4f43f86bb1a14dd626acc0b611c8b2e4d2047529d46b463344c7d3')
-
-build() {
- cd "bidict-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "bidict-${pkgver}"
- PYTHONPATH="build/lib" pytest
-}
-
-package() {
- cd "bidict-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-bidict/repos/community-any/PKGBUILD (from rev 1177889, python-bidict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-31 00:17:55 UTC (rev 1177890)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Omar Pakker <archlinux at opakker.nl>
+
+pkgname=python-bidict
+_name=${pkgname#python-}
+pkgver=0.22.0
+pkgrel=1
+pkgdesc='Bidirectional mapping library for Python'
+url='https://bidict.readthedocs.org/'
+arch=('any')
+license=('MPL2')
+depends=('python')
+makedepends=('python-setuptools' 'python-pip' 'python-wheel' 'python-build' 'python-installer')
+checkdepends=('python-pytest' 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-pytest-benchmark'
+ 'python-hypothesis' 'python-py-cpuinfo' 'python-sortedcollections')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
+sha256sums=('5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8')
+b2sums=('511bea446922c959c7ab2c42fadfe63dc486f9b8f4d060779048195ed02344c36819be917716be6773e2173aa9dbd9e5452e747ee325db6ee92057644789653e')
+
+build() {
+ cd "bidict-${pkgver}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "bidict-${pkgver}"
+ PYTHONPATH="build/lib" pytest
+}
+
+package() {
+ cd "bidict-${pkgver}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list