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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:09:28 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:09:28
  Author: felixonmars
Revision: 752289

archrelease: copy trunk to community-staging-any

Added:
  python-pysolr/repos/community-staging-any/PKGBUILD
    (from rev 752288, python-pysolr/trunk/PKGBUILD)
Deleted:
  python-pysolr/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 17:09:22 UTC (rev 752288)
+++ PKGBUILD	2020-11-12 17:09:28 UTC (rev 752289)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pysolr
-pkgname=python-pysolr
-pkgver=3.9.0
-pkgrel=2
-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}"
-}

Copied: python-pysolr/repos/community-staging-any/PKGBUILD (from rev 752288, python-pysolr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 17:09:28 UTC (rev 752289)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pysolr
+pkgname=python-pysolr
+pkgver=3.9.0
+pkgrel=3
+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