[arch-commits] Commit in python-unrardll/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Jun 11 07:06:30 UTC 2019


    Date: Tuesday, June 11, 2019 @ 07:06:29
  Author: eschwartz
Revision: 480170

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 52 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-11 07:06:13 UTC (rev 480169)
+++ PKGBUILD	2019-06-11 07:06:29 UTC (rev 480170)
@@ -1,43 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Eli Schwartz <eschwartz93 at gmail.com>
-
-_pkgname=unrardll
-pkgbase='python-unrardll'
-pkgname=('python-unrardll' 'python2-unrardll')
-pkgver=0.1.3
-pkgrel=4
-pkgdesc="Python wrapper for UnRAR DLL"
-arch=('x86_64')
-url="https://github.com/kovidgoyal/${_pkgname}"
-license=('BSD')
-depends=('libunrar')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('5f214ab1ec24208c6ee353f2d836e536968d5379b7140129f04aa3a52bc56a5e'
-            'SKIP')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  python setup.py build
-  python2 setup.py build
-}
-
-package_python-unrardll() {
-  depends+=('python')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-unrardll() {
-  depends+=('python2')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-unrardll/repos/community-x86_64/PKGBUILD (from rev 480169, python-unrardll/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-11 07:06:29 UTC (rev 480170)
@@ -0,0 +1,52 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz93 at gmail.com>
+
+_pkgname=unrardll
+pkgbase='python-unrardll'
+pkgname=('python-unrardll' 'python2-unrardll')
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="Python wrapper for UnRAR DLL"
+arch=('x86_64')
+url="https://github.com/kovidgoyal/${_pkgname}"
+license=('BSD')
+depends=('libunrar')
+makedepends=('python-setuptools' 'python2-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
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  python setup.py test
+  python2 setup.py test
+}
+
+package_python-unrardll() {
+  depends+=('python')
+
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-unrardll() {
+  depends+=('python2')
+
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python2 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