[arch-commits] Commit in python-bitcoinlib/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Sat Feb 15 21:36:13 UTC 2020


    Date: Saturday, February 15, 2020 @ 21:36:12
  Author: ffy00
Revision: 571873

archrelease: copy trunk to community-any

Added:
  python-bitcoinlib/repos/community-any/
  python-bitcoinlib/repos/community-any/PKGBUILD
    (from rev 571872, python-bitcoinlib/trunk/PKGBUILD)

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

Copied: python-bitcoinlib/repos/community-any/PKGBUILD (from rev 571872, python-bitcoinlib/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-02-15 21:36:12 UTC (rev 571873)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-bitcoinlib
+pkgver=0.10.2
+_tag=$pkgname-v$pkgver
+pkgrel=1
+pkgdesc='Python3 library providing an easy interface to the Bitcoin data structures and protocol'
+arch=('any')
+url='https://github.com/petertodd/python-bitcoinlib'
+license=('GPL3')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_tag.tar.gz")
+sha512sums=('db9a7cff735d7cab1efb1c353c68a7bfb1a0eb3feb2352fc8bb1b177be76ccb39f5626d860685a594ada4a54ced8c527440f59258e56197a4c27c671237bed62')
+
+build() {
+  cd $pkgname-$_tag
+
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$_tag
+
+  python setup.py pytest
+}
+
+package() {
+  cd $pkgname-$_tag
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list