[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Feb 17 16:29:53 UTC 2018
Date: Saturday, February 17, 2018 @ 16:29:52
Author: dvzrv
Revision: 296111
upgpkg: python-sphinxcontrib-newsfeed 0.1.4-5
Rebuild for community. Disabling useless tests for now.
Modified:
python-sphinxcontrib-newsfeed/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-17 16:29:04 UTC (rev 296110)
+++ PKGBUILD 2018-02-17 16:29:52 UTC (rev 296111)
@@ -6,13 +6,13 @@
pkgbase=python-sphinxcontrib-newsfeed
pkgname=("python-sphinxcontrib-newsfeed" "python2-sphinxcontrib-newsfeed")
pkgver=0.1.4
-pkgrel=4
+pkgrel=5
pkgdesc="News Feed extension for Sphinx"
arch=('any')
url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed"
license=('BSD')
makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-whoosh' 'python-sqlalchemy' 'python-xapian' 'python2-xapian' 'python2-whoosh' 'python2-sqlalchemy')
+#checkdepends=('python-pytest' 'python-whoosh' 'python-sqlalchemy' 'python-xapian' 'python2-pytest' 'python2-xapian' 'python2-whoosh' 'python2-sqlalchemy')
source=("https://pypi.python.org/packages/source/s/${_name}/${_name}-${pkgver}.tar.gz")
sha512sums=('96d9d0c15fca8b62f945bafc8f0eafa62df9c471f7510e2f153e47b66534e5f3041e5c01df772e6c35a9f09baa70064642f7f0fa43ccfd33dd64c2604494f2fc')
@@ -28,12 +28,16 @@
python2 setup.py build
}
-check() {
- cd "${pkgname[0]}-${pkgver}"
- python setup.py test
- cd ../"${pkgname[1]}-${pkgver}"
- python2 setup.py test
-}
+# tests disabled for now:
+# https://bitbucket.org/prometheus/sphinxcontrib-newsfeed/issues/4/running-tests-during-packaging
+#check() {
+# cd "${pkgname[0]}-${pkgver}"
+# export PYTHONPATH=${srcdir}/${pkgname[0]}-${pkgver}/build:${PYTHONPATH}
+# py.test
+# cd ../"${pkgname[1]}-${pkgver}"
+# export PYTHONPATH=${srcdir}/${pkgname[1]}-${pkgver}/build:${PYTHONPATH}
+# py.test2
+#}
package_python-sphinxcontrib-newsfeed() {
depends=('python-sphinx')
More information about the arch-commits
mailing list