Date: Tuesday, October 4, 2022 @ 19:29:05
  Author: arojas
Revision: 457235

archrelease: copy trunk to community-x86_64

Added:
  python-fastbencode/repos/community-x86_64/
  python-fastbencode/repos/community-x86_64/PKGBUILD
    (from rev 457234, python-fastbencode/trunk/PKGBUILD)

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

Copied: python-fastbencode/repos/community-x86_64/PKGBUILD (from rev 457234, 
python-fastbencode/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2022-10-04 19:29:05 UTC (rev 457235)
@@ -0,0 +1,29 @@
+# Maintainer:
+
+pkgname=python-fastbencode
+pkgver=0.0.12
+pkgrel=1
+pkgdesc='Implementation of bencode with optional fast C extensions'
+arch=(x86_64)
+url='https://github.com/breezy-team/fastbencode'
+license=(GPL2)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=(https://pypi.io/packages/source/f/fastbencode/fastbencode-$pkgver.tar.gz)
+sha256sums=('c3b17eef44755a2ce8fe2d06182735dc00dfe89a8046d3d7312ebfa9398f2846')
+
+build() {
+  cd fastbencode-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd fastbencode-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd fastbencode-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to