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

David Runge dvzrv at archlinux.org
Mon May 20 08:34:29 UTC 2019


    Date: Monday, May 20, 2019 @ 08:34:29
  Author: dvzrv
Revision: 468033

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 44 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-20 08:34:25 UTC (rev 468032)
+++ PKGBUILD	2019-05-20 08:34:29 UTC (rev 468033)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-
-# pypi upstream name is differnt
-#_name=IMDbPY
-_name=imdbpy
-pkgname=python-imdbpy
-pkgver=6.6
-pkgrel=1
-pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
-url="https://imdbpy.sourceforge.io/"
-arch=('any')
-license=('GPL2')
-depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-cov')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/alberanid/${_name}/archive/${pkgver}.tar.gz")
-# pypi sources don't have tests yet: 
-# https://github.com/alberanid/imdbpy/issues/180
-#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('668ec0303e4b5cb5aa97dc3111ffd36bcf85b01713365ed5eb8f1bb76ddcb2d23f651d0f8ffcd07dea3a83f70de7cb2b196624659ba20e3faca1029a9512fa38')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # fix install folder for docs and config
-  sed -e "s/'doc'/'share\/doc\/python-imdbpy\/'/" \
-      -e "s/'etc'/'\/etc'/" -i setup.py
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  export PYTHONPATH=${srcdir}/${pkgname}-${pkgver}/build:${PYTHONPATH}
-  py.test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}/"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-imdbpy/repos/community-any/PKGBUILD (from rev 468032, python-imdbpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-20 08:34:29 UTC (rev 468033)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=IMDbPY
+pkgname=python-imdbpy
+pkgver=6.7
+pkgrel=1
+pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
+url="https://imdbpy.sourceforge.io/"
+arch=('any')
+license=('GPL2')
+depends=('python-lxml' 'python-sqlalchemy' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-cov')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('bcf9c26d4a1fc078e7f2a09a047329a0cc516d81e280578515f93a2c0201ae8f12baf7f710d962f29aa09a81ee426891a58840a6e279c5acc30dbc3b0911dee9')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # fix install folder for docs and config
+  sed -e "s/'doc'/'share\/doc\/python-imdbpy\/'/" \
+      -e "s/'etc'/'\/etc'/" -i setup.py
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONPATH=${srcdir}/${pkgname}-${pkgver}/build:${PYTHONPATH}
+  py.test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list