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

Antonio Rojas arojas at archlinux.org
Wed Jun 28 22:51:35 UTC 2017


    Date: Wednesday, June 28, 2017 @ 22:51:34
  Author: arojas
Revision: 241535

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: python-unrardll/repos/community-i686/PKGBUILD (from rev 241534, python-unrardll/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-28 22:51:34 UTC (rev 241535)
@@ -0,0 +1,43 @@
+# 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=3
+pkgdesc="Python wrapper for UnRAR DLL"
+arch=('i686' '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 241534, python-unrardll/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-28 22:51:34 UTC (rev 241535)
@@ -0,0 +1,43 @@
+# 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=3
+pkgdesc="Python wrapper for UnRAR DLL"
+arch=('i686' '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"
+}



More information about the arch-commits mailing list