Date: Monday, February 5, 2018 @ 22:39:50 Author: dvzrv Revision: 289308
Adding python-sphinxcontrib-newsfeed 0.1.4 from AUR (as checkdepends for khal). Added: python-sphinxcontrib-newsfeed/ python-sphinxcontrib-newsfeed/repos/ python-sphinxcontrib-newsfeed/trunk/ python-sphinxcontrib-newsfeed/trunk/PKGBUILD ----------+ PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) Added: python-sphinxcontrib-newsfeed/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-newsfeed/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-newsfeed/trunk/PKGBUILD 2018-02-05 22:39:50 UTC (rev 289308) @@ -0,0 +1,63 @@ +# Maintainer: David Runge <[email protected]> +# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com> +# Contributor: kang <[email protected]> + +_name=sphinxcontrib-newsfeed +pkgbase=python-sphinxcontrib-newsfeed +pkgname=("python-sphinxcontrib-newsfeed" "python2-sphinxcontrib-newsfeed") +pkgver=0.1.4 +pkgrel=4 +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') +source=("https://pypi.python.org/packages/source/s/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('96d9d0c15fca8b62f945bafc8f0eafa62df9c471f7510e2f153e47b66534e5f3041e5c01df772e6c35a9f09baa70064642f7f0fa43ccfd33dd64c2604494f2fc') + +prepare() { + mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}" + cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" +} + +build() { + cd "${pkgname[0]}-${pkgver}" + python setup.py build + cd ../"${pkgname[1]}-${pkgver}" + python2 setup.py build +} + +check() { + cd "${pkgname[0]}-${pkgver}" + python setup.py test + cd ../"${pkgname[1]}-${pkgver}" + python2 setup.py test +} + +package_python-sphinxcontrib-newsfeed() { + depends=('python-sphinx') + cd "${pkgname[0]}-${pkgver}" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + # license + install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE" + # doc + install -vDm644 README "${pkgdir}/usr/share/doc/${pkgname[0]}/README" +} + +package_python2-sphinxcontrib-newsfeed() { + depends=('python2-sphinx') + cd "${pkgname[1]}-${pkgver}" + python2 setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + # license + install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE" + # doc + install -vDm644 README "${pkgdir}/usr/share/doc/${pkgname[1]}/README" +} + Property changes on: python-sphinxcontrib-newsfeed/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
