[arch-commits] Commit in python-bidict/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue Mar 8 22:08:06 UTC 2022
Date: Tuesday, March 8, 2022 @ 22:08:06
Author: anthraxx
Revision: 1145618
archrelease: copy trunk to community-any
Added:
python-bidict/repos/community-any/PKGBUILD
(from rev 1145617, 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-08 22:08:02 UTC (rev 1145617)
+++ PKGBUILD 2022-03-08 22:08:06 UTC (rev 1145618)
@@ -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.3
-pkgrel=3
-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')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
-sha256sums=('d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d')
-b2sums=('d6fe581d3114e03fda76a0dcc47a65a5d0a840f17e5eb492341a6498f79b0f57f1d342220016001da4342baecdc1e5b575268d73a21fc01a0520fc11f31ff5ab')
-
-build() {
- cd "bidict-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "bidict-${pkgver}"
- python setup.py test
-}
-
-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 1145617, python-bidict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-08 22:08:06 UTC (rev 1145618)
@@ -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.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:
More information about the arch-commits
mailing list