Date: Saturday, October 29, 2022 @ 20:11:41
  Author: arojas
Revision: 459545

archrelease: copy trunk to community-x86_64

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

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

Copied: python-fastbencode/repos/community-x86_64/PKGBUILD (from rev 459544, 
python-fastbencode/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2022-10-29 20:11:41 UTC (rev 459545)
@@ -0,0 +1,29 @@
+# Maintainer:
+
+pkgname=python-fastbencode
+pkgver=0.1
+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=('c1a978e75a5048bba833d90d6e748a55950ca8b59f12e917c2a2c8e7ca7eb6f5')
+
+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