[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 18:03:56
  Author: felixonmars
Revision: 752925

upgpkg: python-sphinx-testing 1.0.1-4: Python 3.9 rebuild

Modified:
  python-sphinx-testing/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 18:03:27 UTC (rev 752924)
+++ PKGBUILD2020-11-12 18:03:56 UTC (rev 752925)
@@ -2,7 +2,7 @@
 
 pkgname=python-sphinx-testing
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Testing utility classes and functions for Sphinx extensions"
 arch=('any')
 url="https://github.com/sphinx-doc/sphinx-testing;


[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)

2019-04-16 Thread Baptiste Jonglez via arch-commits
Date: Tuesday, April 16, 2019 @ 11:54:57
  Author: zorun
Revision: 451765

upgpkg: python-sphinx-testing 1.0.1-1

Fix tests

Modified:
  python-sphinx-testing/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-16 11:53:08 UTC (rev 451764)
+++ PKGBUILD2019-04-16 11:54:57 UTC (rev 451765)
@@ -1,7 +1,7 @@
 # Maintainer: Baptiste Jonglez 
 
 pkgname=python-sphinx-testing
-pkgver=1.0.0
+pkgver=1.0.1
 pkgrel=1
 pkgdesc="Testing utility classes and functions for Sphinx extensions"
 arch=('any')
@@ -11,7 +11,7 @@
 depends=('python-six' 'python-sphinx')
 checkdepends=('python-mock' 'python-sphinx')
 
source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz;)
-sha256sums=('2a421b42b2dae8ecad2b4c9d3953f9970e5a9c07bb2c66626338157435e5708c')
+sha256sums=('ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09')
 
 build() {
   cd "$srcdir/sphinx-testing-$pkgver"
@@ -21,8 +21,6 @@
 check() {
   export PYTHONPATH="$srcdir/sphinx-testing-$pkgver/src"
   cd "$srcdir/sphinx-testing-$pkgver/tests"
-  # Tests fail with sphinx 2.0, see 
https://github.com/sphinx-doc/sphinx-testing/issues/8
-  # It does not look like a major issue though.
   python -m unittest discover
 }
 


[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)

2019-04-14 Thread Baptiste Jonglez via arch-commits
Date: Sunday, April 14, 2019 @ 10:35:37
  Author: zorun
Revision: 451569

upgpkg: python-sphinx-testing 1.0.0-1

Modified:
  python-sphinx-testing/trunk/PKGBUILD

--+
 PKGBUILD |   38 +-
 1 file changed, 9 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-14 07:19:24 UTC (rev 451568)
+++ PKGBUILD2019-04-14 10:35:37 UTC (rev 451569)
@@ -1,53 +1,33 @@
 # Maintainer: Baptiste Jonglez 
 
-pkgbase=python-sphinx-testing
-pkgname=(python-sphinx-testing python2-sphinx-testing)
-pkgver=0.8.1
+pkgname=python-sphinx-testing
+pkgver=1.0.0
 pkgrel=1
 pkgdesc="Testing utility classes and functions for Sphinx extensions"
 arch=('any')
 url="https://github.com/sphinx-doc/sphinx-testing;
 license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-mock' 'python-sphinx' 'python2-mock' 'python2-sphinx')
+makedepends=('python-setuptools')
+depends=('python-six' 'python-sphinx')
+checkdepends=('python-mock' 'python-sphinx')
 
source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz;)
-sha256sums=('2e0b0f03dbc71a044ef862e9c371655cf6042607e54f5c6d41f33470ce9d6fb1')
+sha256sums=('2a421b42b2dae8ecad2b4c9d3953f9970e5a9c07bb2c66626338157435e5708c')
 
-prepare() {
-  cd "$srcdir/sphinx-testing-$pkgver"
-  cp -a "$srcdir"/sphinx-testing-$pkgver{,-py2}
-}
-
 build() {
   cd "$srcdir/sphinx-testing-$pkgver"
   python setup.py build
-
-  cd "$srcdir/sphinx-testing-$pkgver-py2"
-  python2 setup.py build
 }
 
 check() {
   export PYTHONPATH="$srcdir/sphinx-testing-$pkgver/src"
   cd "$srcdir/sphinx-testing-$pkgver/tests"
+  # Tests fail with sphinx 2.0, see 
https://github.com/sphinx-doc/sphinx-testing/issues/8
+  # It does not look like a major issue though.
   python -m unittest discover
-
-  export PYTHONPATH="$srcdir/sphinx-testing-$pkgver-py2/src"
-  cd "$srcdir/sphinx-testing-$pkgver-py2/tests"
-  python2 -m unittest discover
 }
 
-package_python-sphinx-testing() {
-  depends=('python-six' 'python-sphinx')
-
+package() {
   cd "$srcdir/sphinx-testing-$pkgver"
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-
-package_python2-sphinx-testing() {
-  depends=('python2-six' 'python2-sphinx')
-
-  cd "$srcdir/sphinx-testing-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}


[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)

2018-12-03 Thread Baptiste Jonglez via arch-commits
Date: Monday, December 3, 2018 @ 10:11:28
  Author: zorun
Revision: 410895

upgpkg: python-sphinx-testing 0.8.1-1

Modified:
  python-sphinx-testing/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-03 09:59:49 UTC (rev 410894)
+++ PKGBUILD2018-12-03 10:11:28 UTC (rev 410895)
@@ -2,8 +2,8 @@
 
 pkgbase=python-sphinx-testing
 pkgname=(python-sphinx-testing python2-sphinx-testing)
-pkgver=0.7.2
-pkgrel=2
+pkgver=0.8.1
+pkgrel=1
 pkgdesc="Testing utility classes and functions for Sphinx extensions"
 arch=('any')
 url="https://github.com/sphinx-doc/sphinx-testing;
@@ -10,15 +10,11 @@
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-mock' 'python-sphinx' 'python2-mock' 'python2-sphinx')
-source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz;
-"0001-Skip-checking-cleanup-is-called.patch")
-sha256sums=('9d30f93007620e137b33edf19f52a7225eab853546b7e588ef09d1342e821e94'
-'21f729deaa27b8476858f0bfa123d83fcc0583fa9fe2b3e22131fc3882f26821')
+source=("https://pypi.io/packages/source/s/sphinx-testing/sphinx-testing-$pkgver.tar.gz;)
+sha256sums=('2e0b0f03dbc71a044ef862e9c371655cf6042607e54f5c6d41f33470ce9d6fb1')
 
 prepare() {
   cd "$srcdir/sphinx-testing-$pkgver"
-  # Fix test failure
-  patch -p1 < "$srcdir/0001-Skip-checking-cleanup-is-called.patch"
   cp -a "$srcdir"/sphinx-testing-$pkgver{,-py2}
 }
 
@@ -33,12 +29,10 @@
 check() {
   export PYTHONPATH="$srcdir/sphinx-testing-$pkgver/src"
   cd "$srcdir/sphinx-testing-$pkgver/tests"
-  #python setup.py test
   python -m unittest discover
 
   export PYTHONPATH="$srcdir/sphinx-testing-$pkgver-py2/src"
   cd "$srcdir/sphinx-testing-$pkgver-py2/tests"
-  #python2 setup.py test
   python2 -m unittest discover
 }
 


[arch-commits] Commit in python-sphinx-testing/trunk (PKGBUILD)

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 16:18:09
  Author: felixonmars
Revision: 348413

Python 3.7 rebuild

Modified:
  python-sphinx-testing/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 16:17:21 UTC (rev 348412)
+++ PKGBUILD2018-06-30 16:18:09 UTC (rev 348413)
@@ -3,7 +3,7 @@
 pkgbase=python-sphinx-testing
 pkgname=(python-sphinx-testing python2-sphinx-testing)
 pkgver=0.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Testing utility classes and functions for Sphinx extensions"
 arch=('any')
 url="https://github.com/sphinx-doc/sphinx-testing;