[arch-commits] Commit in python-pdfminer/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Aug 9 09:53:05 UTC 2020


    Date: Sunday, August 9, 2020 @ 09:53:05
  Author: archange
Revision: 673089

archrelease: copy trunk to community-any

Added:
  python-pdfminer/repos/community-any/PKGBUILD
    (from rev 673088, python-pdfminer/trunk/PKGBUILD)
Deleted:
  python-pdfminer/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-09 09:52:38 UTC (rev 673088)
+++ PKGBUILD	2020-08-09 09:53:05 UTC (rev 673089)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pdfminer
-pkgname=python-${_pkg}
-pkgver=20200720
-pkgrel=1
-pkgdesc="Python PDF Parser"
-arch=(any)
-url="https://github.com/pdfminer/pdfminer.six"
-license=(MIT)
-depends=(python-chardet python-cryptography python-sortedcontainers)
-makedepends=(python-setuptools cython)
-checkdepends=(python-nose)
-# Provided tarballs do not include tests
-#source=(${url}/releases/download/${pkgver}/${_pkg}.six-${pkgver}.tar.gz)
-source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('b7392771e11e98f0de46b139963269021e2ed66ce1288cddba030cb35f4c82e4')
-
-build() {
-  cd ${_pkg}.six-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}.six-${pkgver}
-  nosetests
-}
-
-package() {
-  cd ${_pkg}.six-${pkgver}
-  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-  # Fix ownership
-  chmod a+r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/pdfminer/cmap/*
-}

Copied: python-pdfminer/repos/community-any/PKGBUILD (from rev 673088, python-pdfminer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-09 09:53:05 UTC (rev 673089)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pdfminer
+pkgname=python-${_pkg}
+pkgver=20200726
+pkgrel=1
+pkgdesc="Python PDF Parser"
+arch=(any)
+url="https://github.com/pdfminer/pdfminer.six"
+license=(MIT)
+depends=(python-chardet python-cryptography python-sortedcontainers)
+makedepends=(python-setuptools cython)
+checkdepends=(python-nose)
+# Provided tarballs do not include tests
+#source=(${url}/releases/download/${pkgver}/${_pkg}.six-${pkgver}.tar.gz)
+source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('77f0b6953f36aeeeb45ab959fabd8dfc964b7926676d5df3ac2f949cd4d524a3')
+
+build() {
+  cd ${_pkg}.six-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}.six-${pkgver}
+  nosetests
+}
+
+package() {
+  cd ${_pkg}.six-${pkgver}
+  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+  # Fix ownership
+  chmod a+r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/pdfminer/cmap/*
+}


More information about the arch-commits mailing list