[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 10:05:16
  Author: felixonmars
Revision: 751387

upgpkg: python-sphinxcontrib-newsfeed 0.1.4-11: Python 3.9 rebuild

Modified:
  python-sphinxcontrib-newsfeed/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 10:05:15 UTC (rev 751386)
+++ PKGBUILD2020-11-12 10:05:16 UTC (rev 751387)
@@ -5,7 +5,7 @@
 _name=sphinxcontrib-newsfeed
 pkgname=python-sphinxcontrib-newsfeed
 pkgver=0.1.4
-pkgrel=10
+pkgrel=11
 pkgdesc="News Feed extension for Sphinx"
 arch=('any')
 url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;


[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2019-11-02 Thread Felix Yan via arch-commits
Date: Saturday, November 2, 2019 @ 22:36:40
  Author: felixonmars
Revision: 522361

Python 3.8 rebuild

Modified:
  python-sphinxcontrib-newsfeed/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-02 22:35:51 UTC (rev 522360)
+++ PKGBUILD2019-11-02 22:36:40 UTC (rev 522361)
@@ -5,7 +5,7 @@
 _name=sphinxcontrib-newsfeed
 pkgname=python-sphinxcontrib-newsfeed
 pkgver=0.1.4
-pkgrel=8
+pkgrel=9
 pkgdesc="News Feed extension for Sphinx"
 arch=('any')
 url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;


[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2019-10-25 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 04:27:14
  Author: felixonmars
Revision: 520003

Python 3.8 rebuild

Modified:
  python-sphinxcontrib-newsfeed/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 04:27:13 UTC (rev 520002)
+++ PKGBUILD2019-10-26 04:27:14 UTC (rev 520003)
@@ -5,7 +5,7 @@
 _name=sphinxcontrib-newsfeed
 pkgname=python-sphinxcontrib-newsfeed
 pkgver=0.1.4
-pkgrel=7
+pkgrel=8
 pkgdesc="News Feed extension for Sphinx"
 arch=('any')
 url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;


[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2019-02-18 Thread David Runge via arch-commits
Date: Monday, February 18, 2019 @ 21:57:12
  Author: dvzrv
Revision: 434301

Removing python2 support. Switching to pythonhosted.org for source download. 
Removing unrelated tests.

Modified:
  python-sphinxcontrib-newsfeed/trunk/PKGBUILD

--+
 PKGBUILD |   55 ++-
 1 file changed, 10 insertions(+), 45 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-18 21:56:34 UTC (rev 434300)
+++ PKGBUILD2019-02-18 21:57:12 UTC (rev 434301)
@@ -3,65 +3,30 @@
 # Contributor: kang 
 
 _name=sphinxcontrib-newsfeed
-pkgbase=python-sphinxcontrib-newsfeed
-pkgname=("python-sphinxcontrib-newsfeed" "python2-sphinxcontrib-newsfeed")
+pkgname=python-sphinxcontrib-newsfeed
 pkgver=0.1.4
-pkgrel=6
+pkgrel=7
 pkgdesc="News Feed extension for Sphinx"
 arch=('any')
 url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;
 license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-#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;)
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_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}"
+  cd "${_name}-${pkgver}"
   python setup.py build
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py build
 }
 
-# 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')
-  cd "${pkgname[0]}-${pkgver}"
+package() {
+  cd "${_name}-${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"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
-
-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"
-}
-


[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2018-06-30 Thread Evangelos Foutras via arch-commits
Date: Saturday, June 30, 2018 @ 18:37:56
  Author: foutrelis
Revision: 349049

Python 3.7 rebuild

Modified:
  python-sphinxcontrib-newsfeed/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 18:37:53 UTC (rev 349048)
+++ PKGBUILD2018-06-30 18:37:56 UTC (rev 349049)
@@ -6,7 +6,7 @@
 pkgbase=python-sphinxcontrib-newsfeed
 pkgname=("python-sphinxcontrib-newsfeed" "python2-sphinxcontrib-newsfeed")
 pkgver=0.1.4
-pkgrel=5
+pkgrel=6
 pkgdesc="News Feed extension for Sphinx"
 arch=('any')
 url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;


[arch-commits] Commit in python-sphinxcontrib-newsfeed/trunk (PKGBUILD)

2018-02-17 Thread David Runge via arch-commits
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
===
--- PKGBUILD2018-02-17 16:29:04 UTC (rev 296110)
+++ PKGBUILD2018-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')