[arch-commits] Commit in python-pysolr/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Apr 18 11:22:04 UTC 2020
Date: Saturday, April 18, 2020 @ 11:22:04
Author: dvzrv
Revision: 616039
archrelease: copy trunk to community-any
Added:
python-pysolr/repos/community-any/PKGBUILD
(from rev 616038, python-pysolr/trunk/PKGBUILD)
Deleted:
python-pysolr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-18 11:20:05 UTC (rev 616038)
+++ PKGBUILD 2020-04-18 11:22:04 UTC (rev 616039)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pysolr
-pkgname=python-pysolr
-pkgver=3.8.1
-pkgrel=1
-pkgdesc="Python Solr client"
-arch=('any')
-url="https://github.com/django-haystack/pysolr"
-license=('BSD')
-depends=('python-requests')
-makedepends=('python-setuptools-scm')
-# checkdepends=('python-mock' 'python-pytest' 'solr' 'zookeeper')
-optdepends=('python-kazoo: for solrcloud'
- 'python-simplejson: for JSON support'
- 'solr: for interfacing a local solr instance')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('34489f32cdcbcb7e8109d6d94339fcb200b1367a188a0b9fedf587a77cd64412570b3a796a4da4e0abe6fa3e443a401c4dc0e4946bdc437dd810fee7eabd54a4')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-# tests vendor solr *and* zookeeper (including download)
-# TODO: write own test script to replace start-solr-test-server.sh
-# TODO: package zookeeper, as it's also required for tests
-# check() {
-# cd "$pkgname-$pkgver"
-# export PYTHONPATH="build:${PYTHONPATH}"
-# python run-tests.py
-# }
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 {AUTHORS,{CHANGELOG,README}.rst} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-pysolr/repos/community-any/PKGBUILD (from rev 616038, python-pysolr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-18 11:22:04 UTC (rev 616039)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pysolr
+pkgname=python-pysolr
+pkgver=3.9.0
+pkgrel=1
+pkgdesc="Python Solr client"
+arch=('any')
+url="https://github.com/django-haystack/pysolr"
+license=('BSD')
+depends=('python-requests')
+makedepends=('python-setuptools-scm')
+# checkdepends=('python-mock' 'python-pytest' 'solr' 'zookeeper')
+optdepends=('python-kazoo: for solrcloud'
+ 'python-simplejson: for JSON support'
+ 'solr: for interfacing a local solr instance')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('8a8ff1588cd379c248de1a0316f2259239c1e9f25cd6f1d3a71792972bb871d1bad5c9449bdc6673e5b82aab896f8a898959dcc98dbac330d7d32568a23bcdc5')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+# tests vendor solr *and* zookeeper (including download)
+# TODO: write own test script to replace start-solr-test-server.sh
+# TODO: package zookeeper, as it's also required for tests
+# check() {
+# cd "$pkgname-$pkgver"
+# export PYTHONPATH="build:${PYTHONPATH}"
+# python run-tests.py
+# }
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,{CHANGELOG,README}.rst} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list