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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:15:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:15:04
  Author: foutrelis
Revision: 749386

archrelease: copy trunk to community-staging-x86_64

Added:
  python-unrardll/repos/community-staging-x86_64/
  python-unrardll/repos/community-staging-x86_64/PKGBUILD
    (from rev 749385, python-unrardll/trunk/PKGBUILD)

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

Copied: python-unrardll/repos/community-staging-x86_64/PKGBUILD (from rev 749385, python-unrardll/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 05:15:04 UTC (rev 749386)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz93 at gmail.com>
+
+_pkgname=unrardll
+pkgname=python-unrardll
+pkgver=0.1.4
+pkgrel=4
+pkgdesc="Python wrapper for UnRAR DLL"
+arch=('x86_64')
+url="https://github.com/kovidgoyal/${_pkgname}"
+license=('BSD')
+depends=('libunrar' 'python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('4149c0729cf96a0bae80360e7d94dc40af1088c8da7f6eb8d10e09b8632e92ad'
+            'SKIP')
+b2sums=('cbbbe53b9457a4a633f10a2bb5817685ebb75c88f6b20eee01a39610c0b5541bd86f77917efc7824277794e12b30afac4eb0237694cd7b0cc7caf76fb6dbf80e'
+        'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  python setup.py test
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list