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

Santiago Torres-Arias sangy at archlinux.org
Sun Jul 12 22:29:50 UTC 2020


    Date: Sunday, July 12, 2020 @ 22:29:50
  Author: sangy
Revision: 663377

archrelease: copy trunk to community-any

Added:
  python-bitstring/repos/community-any/
  python-bitstring/repos/community-any/PKGBUILD
    (from rev 663376, python-bitstring/trunk/PKGBUILD)

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

Copied: python-bitstring/repos/community-any/PKGBUILD (from rev 663376, python-bitstring/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-12 22:29:50 UTC (rev 663377)
@@ -0,0 +1,30 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: nblock <nblock [/at\] archlinux DOT us>
+# Contributor: Thomas Conneely <tc116 at le dot ac dot uk>
+
+pkgname=python-bitstring
+pkgver=3.1.6
+pkgrel=1
+pkgdesc='Python module designed to help make the creation, manipulation and analysis of binary data as simple and natural as possible'
+arch=('any')
+url="https://scott-griffiths.github.io/bitstring/"
+license=('MIT')
+depends=('python' 'python-setuptools')
+source=("https://github.com/scott-griffiths/bitstring/archive/${pkgname/python-}-${pkgver}.tar.gz")
+sha256sums=('41fbc1d71b871f985dfe00d2e74e17add8b47e51e1a9e0634ae4c18ea7181418')
+
+build() {
+  # still unsure why the upstream tarball has the name repeated twice...
+  cd "${srcdir}/${pkgname/python-}-${pkgname/python-}-${pkgver}"
+
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${pkgname/python-}-${pkgname/python-}-${pkgver}"
+
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list