Date: Sunday, April 10, 2022 @ 19:00:19
  Author: alex19ep
Revision: 1185755

archrelease: copy trunk to community-testing-any

Added:
  python-frozendict/repos/community-testing-any/
  python-frozendict/repos/community-testing-any/PKGBUILD
    (from rev 1185754, python-frozendict/trunk/PKGBUILD)

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

Copied: python-frozendict/repos/community-testing-any/PKGBUILD (from rev 
1185754, python-frozendict/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2022-04-10 19:00:19 UTC (rev 1185755)
@@ -0,0 +1,43 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Maintainer: Alexander Epaneshnikov <[email protected]>
+# Contributor: Ivan Shapovalov <[email protected]>
+
+pkgname=python-frozendict
+pkgver=2.3.1
+pkgrel=1
+epoch=1
+pkgdesc='An immutable dictionary'
+url='https://pypi.python.org/pypi/frozendict/'
+arch=('any')
+license=('LGPL3')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.org/packages/source/f/frozendict/frozendict-$pkgver.tar.gz";)
+sha512sums=('7795a4fac1203666c3ca1361ff3e9c9270935d63ef3d120397c3fdbda87d60bafccbe6519114a1a4b408e40af68bd96e5260cea7dda1c75d211f07214de8c5d6')
+b2sums=('c4bf292a9ac86032f831e7d0059f4b0989ee95d2eac5bcff6fbfb755772a44aa790f990e44ed74b05183c87ffb4c39a4ee0de3585a0705d7d38ba563e7160fba')
+
+prepare() {
+       cd frozendict-$pkgver
+       # remove unneeded tests
+       pushd test
+       rm -v c_only.py test_frozendict_c.py test_frozendict_c_subclass.py
+       popd
+}
+
+build() {
+       cd frozendict-$pkgver
+       python setup.py py build
+}
+
+check(){
+       cd frozendict-$pkgver
+       PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+       cd frozendict-$pkgver
+       python setup.py py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :

Reply via email to