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

David Runge dvzrv at archlinux.org
Mon Sep 24 08:05:13 UTC 2018


    Date: Monday, September 24, 2018 @ 08:05:13
  Author: dvzrv
Revision: 384446

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 43 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-24 08:05:04 UTC (rev 384445)
+++ PKGBUILD	2018-09-24 08:05:13 UTC (rev 384446)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=micawber
-pkgname=python-micawber
-pkgver=0.3.5
-pkgrel=4
-pkgdesc="A small library for extracting rich content from urls."
-arch=('any')
-url="https://github.com/coleifer/micawber"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-django')
-optdepends=('python-django: django support'
-            'python-flask: flask support'
-            'python-redis: redis caching support')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('37d5f1305b6959261488fd2f7d073654058e7f9b09136a1b4838dc582e6d6a8428313b3276b575ea5be95207deadeefe2d58970a4a3bfcb9fe2bf6e1f69d8908')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH=build/lib:${PYTHONPATH}
-  python setup.py test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # remove generic examples directory:
-  # https://bugs.archlinux.org/task/60006
-  rm -rv "${pkgdir}/usr/lib/python"*/site-packages/examples
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-micawber/repos/community-any/PKGBUILD (from rev 384445, python-micawber/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-24 08:05:13 UTC (rev 384446)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=micawber
+pkgname=python-micawber
+pkgver=0.3.8
+pkgrel=1
+pkgdesc="A small library for extracting rich content from urls."
+arch=('any')
+url="https://github.com/coleifer/micawber"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-django')
+optdepends=('python-django: django support'
+            'python-flask: flask support'
+            'python-redis: redis caching support')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('9f2ede4df0eeb6fade9815c91a9a94ba53e7906433eebcce95dcb250870501e289f75c9d30e7109923f5718971b0a34a5cbdc43cbde6dcc3bbc2502e038c7472')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH=build/lib:${PYTHONPATH}
+  python setup.py test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list