[arch-commits] Commit in python-micawber/repos/community-testing-any (2 files)
David Runge
dvzrv at archlinux.org
Sat Sep 8 11:42:58 UTC 2018
Date: Saturday, September 8, 2018 @ 11:42:58
Author: dvzrv
Revision: 378800
archrelease: copy trunk to community-testing-any
Added:
python-micawber/repos/community-testing-any/PKGBUILD
(from rev 378799, python-micawber/trunk/PKGBUILD)
Deleted:
python-micawber/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-08 11:42:52 UTC (rev 378799)
+++ PKGBUILD 2018-09-08 11:42:58 UTC (rev 378800)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=micawber
-pkgname=python-micawber
-pkgver=0.3.5
-pkgrel=2
-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')
-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}"
- 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-testing-any/PKGBUILD (from rev 378799, python-micawber/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-08 11:42:58 UTC (rev 378800)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=micawber
+pkgname=python-micawber
+pkgver=0.3.5
+pkgrel=3
+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}"
+ 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