Date: Thursday, April 6, 2023 @ 13:59:29
  Author: felixonmars
Revision: 1439083

archrelease: copy trunk to community-staging-any

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

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

Copied: python-bitstring/repos/community-staging-any/PKGBUILD (from rev 
1439082, python-bitstring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:59:29 UTC (rev 1439083)
@@ -0,0 +1,31 @@
+# Maintainer: Santiago Torres-Arias <[email protected]>
+# Maintainer: nblock <nblock [/at\] archlinux DOT us>
+# Contributor: Thomas Conneely <tc116 at le dot ac dot uk>
+
+pkgname=python-bitstring
+pkgver=3.1.9
+pkgrel=4
+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=('32da255b20b93a15260a8498170411ef1f112de5e5011fd0ae81fd834edf5f07')
+
+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:

Reply via email to