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

Levente Polyak anthraxx at archlinux.org
Wed Jan 20 22:39:46 UTC 2021


    Date: Wednesday, January 20, 2021 @ 22:39:46
  Author: anthraxx
Revision: 824024

archrelease: copy trunk to community-any

Added:
  python-bidict/repos/community-any/
  python-bidict/repos/community-any/PKGBUILD
    (from rev 824023, python-bidict/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-bidict/repos/community-any/PKGBUILD (from rev 824023, python-bidict/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-01-20 22:39:46 UTC (rev 824024)
@@ -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.2
+pkgrel=2
+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=('4fa46f7ff96dc244abfc437383d987404ae861df797e2fd5b190e233c302be09')
+b2sums=('6bc154cd49d33f9f144c0122175355327f16fbf3f701f751ecc0b65d335c78e5cb66126ef055545ec35a0b56a18efc4446a471477f9c2984f7c9a60cb80e2120')
+
+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:



More information about the arch-commits mailing list