[arch-commits] Commit in (13 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 13:07:52 UTC 2019


    Date: Friday, October 25, 2019 @ 13:07:52
  Author: foutrelis
Revision: 365523

Prepare for Python 3.8 rebuild

Modified:
  clang/trunk/PKGBUILD
  git-review/trunk/PKGBUILD
  libreoffice-fresh/trunk/PKGBUILD
  libreoffice-still/trunk/PKGBUILD
  libvoikko/trunk/PKGBUILD
  pyalpm/trunk/PKGBUILD
  python-feedparser/trunk/PKGBUILD
  python-isort/trunk/PKGBUILD
  python-lazy-object-proxy/trunk/PKGBUILD
  python-numpy/trunk/PKGBUILD
  python-pip/trunk/PKGBUILD
  python-pycurl/trunk/PKGBUILD
  python-wrapt/trunk/PKGBUILD

-----------------------------------------+
 clang/trunk/PKGBUILD                    |    2 +-
 git-review/trunk/PKGBUILD               |    2 +-
 libreoffice-fresh/trunk/PKGBUILD        |    6 +++---
 libreoffice-still/trunk/PKGBUILD        |    6 +++---
 libvoikko/trunk/PKGBUILD                |    4 ++--
 pyalpm/trunk/PKGBUILD                   |    2 +-
 python-feedparser/trunk/PKGBUILD        |    6 +++---
 python-isort/trunk/PKGBUILD             |    2 +-
 python-lazy-object-proxy/trunk/PKGBUILD |    2 +-
 python-numpy/trunk/PKGBUILD             |    2 +-
 python-pip/trunk/PKGBUILD               |    4 ++--
 python-pycurl/trunk/PKGBUILD            |    2 +-
 python-wrapt/trunk/PKGBUILD             |    2 +-
 13 files changed, 21 insertions(+), 21 deletions(-)

Modified: clang/trunk/PKGBUILD
===================================================================
--- clang/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ clang/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -106,7 +106,7 @@
   sed -i 's|libexec|lib/clang|' "$pkgdir/usr/bin/scan-build"
 
   # Install Python bindings
-  for _py in 2.7 3.7; do
+  for _py in 2.7 3.8; do
     install -d "$pkgdir/usr/lib/python$_py/site-packages"
     cp -a ../bindings/python/clang "$pkgdir/usr/lib/python$_py/site-packages/"
     _python${_py%%.*}_optimize "$pkgdir/usr/lib/python$_py"

Modified: git-review/trunk/PKGBUILD
===================================================================
--- git-review/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ git-review/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -46,7 +46,7 @@
   python setup.py install --root="$PWD/tmp_install" --optimize=1
 
   python -m git_review.tests.prepare
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" stestr run || warning "Tests failed"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" stestr run || warning "Tests failed"
 }
 
 package() {

Modified: libreoffice-fresh/trunk/PKGBUILD
===================================================================
--- libreoffice-fresh/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ libreoffice-fresh/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -311,11 +311,11 @@
 	install -m644 "${srcdir}"/libreoffice-fresh.{sh,csh} "${pkgdir}"/etc/profile.d/
 
 	# make pyuno find its modules
-	install -dm755 "${pkgdir}"/usr/lib/python3.7/site-packages
+	install -dm755 "${pkgdir}"/usr/lib/python3.8/site-packages
 	ln -svf /usr/lib/libreoffice/program/uno.py \
-		"${pkgdir}"/usr/lib/python3.7/site-packages/uno.py
+		"${pkgdir}"/usr/lib/python3.8/site-packages/uno.py
 	ln -svf /usr/lib/libreoffice/program/unohelper.py \
-		"${pkgdir}"/usr/lib/python3.7/site-packages/unohelper.py
+		"${pkgdir}"/usr/lib/python3.8/site-packages/unohelper.py
 		
 	# add a symlink required for gnome-documents; FS#51887
 	# https://lists.freedesktop.org/archives/libreoffice/2016-March/073787.html

Modified: libreoffice-still/trunk/PKGBUILD
===================================================================
--- libreoffice-still/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ libreoffice-still/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -311,11 +311,11 @@
 	install -m644 "${srcdir}"/libreoffice-still.{sh,csh} "${pkgdir}"/etc/profile.d/
 
 	# make pyuno find its modules
-	install -dm755 "${pkgdir}"/usr/lib/python3.7/site-packages
+	install -dm755 "${pkgdir}"/usr/lib/python3.8/site-packages
 	ln -svf /usr/lib/libreoffice/program/uno.py \
-		"${pkgdir}"/usr/lib/python3.7/site-packages/uno.py
+		"${pkgdir}"/usr/lib/python3.8/site-packages/uno.py
 	ln -svf /usr/lib/libreoffice/program/unohelper.py \
-		"${pkgdir}"/usr/lib/python3.7/site-packages/unohelper.py
+		"${pkgdir}"/usr/lib/python3.8/site-packages/unohelper.py
 		
 	# add a symlink required for gnome-documents; FS#51887
 	# https://lists.freedesktop.org/archives/libreoffice/2016-March/073787.html

Modified: libvoikko/trunk/PKGBUILD
===================================================================
--- libvoikko/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ libvoikko/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -29,7 +29,7 @@
   cd $pkgname-$pkgver
 
   make DESTDIR="$pkgdir" install
-  mkdir -p "$pkgdir"/usr/lib/python3.7/site-packages
-  cp python/libvoikko.py "$pkgdir"/usr/lib/python3.7/site-packages/libvoikko.py
+  mkdir -p "$pkgdir"/usr/lib/python3.8/site-packages
+  cp python/libvoikko.py "$pkgdir"/usr/lib/python3.8/site-packages/libvoikko.py
 }
 

Modified: pyalpm/trunk/PKGBUILD
===================================================================
--- pyalpm/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ pyalpm/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -27,7 +27,7 @@
 
 check() {
   cd ${srcdir}/${pkgname}
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7" pytest
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8" pytest
 }
 
 package() {

Modified: python-feedparser/trunk/PKGBUILD
===================================================================
--- python-feedparser/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-feedparser/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -23,7 +23,7 @@
 
 build() {
   cd feedparser-${pkgver}-sgmllib
-  python /usr/lib/python3.7/compileall.py feedparser/sgmllib3.py
+  python /usr/lib/python3.8/compileall.py feedparser/sgmllib3.py
 }
 
 package_python2-feedparser() {
@@ -50,7 +50,7 @@
 
   cd "${srcdir}/feedparser-${pkgver}-sgmllib"
   install -Dm644 feedparser/sgmllib3.py \
-    "${pkgdir}/usr/lib/python3.7/site-packages/sgmllib.py"
+    "${pkgdir}/usr/lib/python3.8/site-packages/sgmllib.py"
   install -Dm644 feedparser/__pycache__/sgmllib3.cpython-37.pyc \
-    "${pkgdir}/usr/lib/python3.7/site-packages/__pycache__/sgmllib.cpython-37.pyc"
+    "${pkgdir}/usr/lib/python3.8/site-packages/__pycache__/sgmllib.cpython-37.pyc"
 }

Modified: python-isort/trunk/PKGBUILD
===================================================================
--- python-isort/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-isort/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -23,7 +23,7 @@
 check() {
   cd isort-$_tag
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest || warning "Tests failed"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest || warning "Tests failed"
 }
 
 package() {

Modified: python-lazy-object-proxy/trunk/PKGBUILD
===================================================================
--- python-lazy-object-proxy/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-lazy-object-proxy/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -27,7 +27,7 @@
 
 check() {
   cd "$srcdir"/python-lazy-object-proxy-$pkgver
-  LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test --ignore=src
+  LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test --ignore=src
 
   cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src

Modified: python-numpy/trunk/PKGBUILD
===================================================================
--- python-numpy/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-numpy/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -30,7 +30,7 @@
   cd numpy-$pkgver
   python setup.py install --root="$PWD/tmp_install" --optimize=1
   cd "$PWD/tmp_install"
-  PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.7/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()'
+  PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.8/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()'
 }
 
 package() {

Modified: python-pip/trunk/PKGBUILD
===================================================================
--- python-pip/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-pip/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -47,7 +47,7 @@
   cd "$srcdir"/pip-$pkgver
   pip wheel -w tests/data/common_wheels -r tools/tests-common_wheels-requirements.txt
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" \
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" \
     python setup.py pytest --addopts "-m unit --junit-xml=junit/unit-test.xml" || warning "Tests failed"
 }
 
@@ -62,7 +62,7 @@
 
   install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/build/man/*
 
-  PYTHONPATH="$pkgdir"/usr/lib/python3.7/site-packages "$pkgdir"/usr/bin/pip completion --bash \
+  PYTHONPATH="$pkgdir"/usr/lib/python3.8/site-packages "$pkgdir"/usr/bin/pip completion --bash \
     | install -Dm644 /dev/stdin "$pkgdir"/usr/share/bash-completion/completions/pip
 }
 

Modified: python-pycurl/trunk/PKGBUILD
===================================================================
--- python-pycurl/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-pycurl/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -46,7 +46,7 @@
   # We don't have HTTP2 enabled
 
   cd "$srcdir"/pycurl-$pkgver
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" make test || warning "Tests failed"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" make test || warning "Tests failed"
 
   cd "$srcdir"/pycurl-$pkgver-py2
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" make PYTHON=python2 NOSETESTS=nosetests2 test || warning "Tests failed"

Modified: python-wrapt/trunk/PKGBUILD
===================================================================
--- python-wrapt/trunk/PKGBUILD	2019-10-25 11:25:51 UTC (rev 365522)
+++ python-wrapt/trunk/PKGBUILD	2019-10-25 13:07:52 UTC (rev 365523)
@@ -28,7 +28,7 @@
 
 check() {
   cd "$srcdir"/wrapt-$pkgver
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test
 
   cd "$srcdir"/wrapt-$pkgver-py2
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2



More information about the arch-commits mailing list