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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 03:58:20 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:58:19
  Author: foutrelis
Revision: 748287

archrelease: copy trunk to community-staging-any

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

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

Copied: python-bitstring/repos/community-staging-any/PKGBUILD (from rev 748286, python-bitstring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 03:58:19 UTC (rev 748287)
@@ -0,0 +1,31 @@
+# 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.7
+pkgrel=2
+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')
+makedepends=('python-setuptools')
+source=("https://github.com/scott-griffiths/bitstring/archive/${pkgname/python-}-${pkgver}.tar.gz")
+sha256sums=('fa4a9f6fc8a15e69c6266968741b2cd7827001d646bd66b46fb6e93a28571f79')
+
+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