[arch-commits] Commit in (9 files)

Daniel M. Capella polyzen at archlinux.org
Mon Feb 15 05:52:56 UTC 2021


    Date: Monday, February 15, 2021 @ 05:52:56
  Author: polyzen
Revision: 860789

Remove just __pycache__ dirs to be less intrusive

Modified:
  python-sphinx-autoapi/trunk/PKGBUILD
  python-sphinx/trunk/PKGBUILD
  python-sphinxcontrib-applehelp/trunk/PKGBUILD
  python-sphinxcontrib-devhelp/trunk/PKGBUILD
  python-sphinxcontrib-htmlhelp/trunk/PKGBUILD
  python-sphinxcontrib-jsmath/trunk/PKGBUILD
  python-sphinxcontrib-qthelp/trunk/PKGBUILD
  python-sphinxcontrib-serializinghtml/trunk/PKGBUILD
  urlwatch/trunk/PKGBUILD

-----------------------------------------------------+
 python-sphinx-autoapi/trunk/PKGBUILD                |    6 ++++--
 python-sphinx/trunk/PKGBUILD                        |    6 ++++--
 python-sphinxcontrib-applehelp/trunk/PKGBUILD       |    6 ++++--
 python-sphinxcontrib-devhelp/trunk/PKGBUILD         |    6 ++++--
 python-sphinxcontrib-htmlhelp/trunk/PKGBUILD        |    6 ++++--
 python-sphinxcontrib-jsmath/trunk/PKGBUILD          |    6 ++++--
 python-sphinxcontrib-qthelp/trunk/PKGBUILD          |    6 ++++--
 python-sphinxcontrib-serializinghtml/trunk/PKGBUILD |    6 ++++--
 urlwatch/trunk/PKGBUILD                             |    6 ++++--
 9 files changed, 36 insertions(+), 18 deletions(-)

Modified: python-sphinx/trunk/PKGBUILD
===================================================================
--- python-sphinx/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinx/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -6,7 +6,7 @@
 
 pkgname=python-sphinx
 pkgver=3.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Python documentation generator'
 arch=('any')
 url=http://www.sphinx-doc.org/
@@ -44,12 +44,14 @@
 check() {
   cd Sphinx-$pkgver
   LC_ALL="en_US.UTF-8" make test
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  find tests -type d -name __pycache__ -exec rm -r {} +
 }
 
 package() {
   cd Sphinx-$pkgver
   export PYTHONHASHSEED=0
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinx-autoapi/trunk/PKGBUILD
===================================================================
--- python-sphinx-autoapi/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinx-autoapi/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -4,7 +4,7 @@
 _name=sphinx-autoapi
 pkgname=python-sphinx-autoapi
 pkgver=1.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A new approach to API documentation in Sphinx."
 arch=('any')
 url="https://github.com/readthedocs/sphinx-autoapi"
@@ -32,11 +32,13 @@
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
   pytest -v
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests{,/python}/__pycache__
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  rm -r tests
   python setup.py install --skip-build \
     --optimize=1 \
     --prefix=/usr \

Modified: python-sphinxcontrib-applehelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-applehelp/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-applehelp/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-applehelp
 pkgname=python-sphinxcontrib-applehelp
 pkgver=1.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which outputs Apple help books'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinxcontrib-devhelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-devhelp/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-devhelp/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-devhelp
 pkgname=python-sphinxcontrib-devhelp
 pkgver=1.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which outputs Devhelp document'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-devhelp
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinxcontrib-htmlhelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-htmlhelp/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-htmlhelp/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-htmlhelp
 pkgname=python-sphinxcontrib-htmlhelp
 pkgver=1.0.3
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which renders HTML help files'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinxcontrib-jsmath/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-jsmath/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-jsmath/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-jsmath
 pkgname=python-sphinxcontrib-jsmath
 pkgver=1.0.1
-pkgrel=7
+pkgrel=8
 pkgdesc='Sphinx extension which renders display math in HTML via JavaScript'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-jsmath
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinxcontrib-qthelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-qthelp/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-qthelp/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-qthelp
 pkgname=python-sphinxcontrib-qthelp
 pkgver=1.0.3
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which outputs QtHelp document'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-qthelp
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: python-sphinxcontrib-serializinghtml/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-serializinghtml/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ python-sphinxcontrib-serializinghtml/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-serializinghtml
 pkgname=python-sphinxcontrib-serializinghtml
 pkgver=1.1.4
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and pickle)'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
@@ -21,11 +21,13 @@
 check() {
   cd $_name-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r tests/__pycache__
 }
 
 package() {
   cd $_name-$pkgver
-  rm -r tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }

Modified: urlwatch/trunk/PKGBUILD
===================================================================
--- urlwatch/trunk/PKGBUILD	2021-02-15 05:48:02 UTC (rev 860788)
+++ urlwatch/trunk/PKGBUILD	2021-02-15 05:52:56 UTC (rev 860789)
@@ -6,7 +6,7 @@
 
 pkgname=urlwatch
 pkgver=2.22
-pkgrel=4
+pkgrel=5
 pkgdesc='Tool for monitoring webpages for updates'
 arch=('any')
 url=https://thp.io/2008/urlwatch/
@@ -36,12 +36,14 @@
 check() {
   cd $pkgname-$pkgver
   pytest
+
+  # Remove created cache files for reproduciblity with rebuilderd
+  rm -r {lib/urlwatch/tests,share/urlwatch/examples}/__pycache__
 }
 
 package() {
   cd $pkgname-$pkgver
   export PYTHONHASHSEED=0
-  rm -r lib/urlwatch/tests
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING
 }



More information about the arch-commits mailing list