[arch-commits] Commit in python-unrardll/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Sep 25 06:01:33 UTC 2020
Date: Friday, September 25, 2020 @ 06:01:33
Author: eschwartz
Revision: 711975
archrelease: copy trunk to community-x86_64
Added:
python-unrardll/repos/community-x86_64/PKGBUILD
(from rev 711974, python-unrardll/trunk/PKGBUILD)
Deleted:
python-unrardll/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++------------------------------------
1 file changed, 38 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-25 06:01:19 UTC (rev 711974)
+++ PKGBUILD 2020-09-25 06:01:33 UTC (rev 711975)
@@ -1,52 +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.4
-pkgrel=2
-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"
-}
Copied: python-unrardll/repos/community-x86_64/PKGBUILD (from rev 711974, python-unrardll/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-25 06:01:33 UTC (rev 711975)
@@ -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=3
+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