Date: Monday, April 16, 2018 @ 21:22:12
  Author: dvzrv
Revision: 316575

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-16 21:22:04 UTC (rev 316574)
+++ PKGBUILD    2018-04-16 21:22:12 UTC (rev 316575)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <d...@sleepmap.de>
-
-pkgname=python-imdbpy
-pkgver=6.4.1
-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')
-makedepends=('python-pytest' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-cov')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";)
-sha512sums=('558c1bb9346d7a109c29057c181f7ceabeaba76165e385ff6aef603f2873af6b89cb77391bec9d496c1419cc3af51b48ac966bb3233f7f374a0a8700ca7cda5e')
-
-prepare() {
-  mv -v "${pkgname/python-/}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # fix install folder for docs and config
-  sed -e "s/'doc'/'share\/doc'/" \
-      -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 -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-imdbpy/repos/community-any/PKGBUILD (from rev 316574, 
python-imdbpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-16 21:22:12 UTC (rev 316575)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+
+pkgname=python-imdbpy
+pkgver=6.5
+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=("${pkgname}-${pkgver}.tar.gz::https://github.com/alberanid/${pkgname/python-/}/archive/${pkgver}.tar.gz";)
+sha512sums=('4147088c2558fcd2e30f6e338b72ebd4b1c3917a54df5a6e0ee8fb51ba2b9fe370b32553a899e74108fa089aaa1fff4ff248ab6b14ca959b80c6b5aade7b58a7')
+
+prepare() {
+  mv -v "${pkgname/python-/}-${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:

Reply via email to