[arch-commits] Commit in python-py/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 10:15:35 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:15:35
  Author: foutrelis
Revision: 751509

archrelease: copy trunk to community-staging-any

Added:
  python-py/repos/community-staging-any/PKGBUILD
    (from rev 751508, python-py/trunk/PKGBUILD)
Deleted:
  python-py/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:15:31 UTC (rev 751508)
+++ PKGBUILD	2020-11-12 10:15:35 UTC (rev 751509)
@@ -1,66 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
-# Contributor: Igor Ramos Tiburcio <irtigor at yahoo.com.br>
-# Contributor: Wieland Hoffmann <themineo+aur at gmail.com>
-# Contributor: Hervé Cauwelier <herve ¤ oursours.net>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-py
-pkgname=('python-py' 'python2-py')
-pkgver=1.9.0
-pkgrel=2
-pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities"
-arch=('any')
-license=('MIT')
-url="https://py.readthedocs.io/"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
-             'python2-setuptools-scm' 'python-iniconfig' 'python2-iniconfig'
-             'python-apipkg' 'python2-apipkg')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/py/archive/$pkgver.tar.gz"
-        py-pytest-4.patch::https://github.com/pytest-dev/py/pull/222.patch)
-sha512sums=('f016e4985be9041346cef7b77d86a7fc035d60ab303795fa21e57683f679a6995ec6a64f609da10c9f26016c42f938875ca851f1bfa6cbabf87bc64aba6202d2'
-            'cabfdb8cd2e229bfbd5e770a145dde60f9e649f683f8e3d57d2cf393a4d246fcb0eae4596cbbee010de97bfca26470a5dd4280d0f9e34d7f30df19b09f5ea8b6')
-
-prepare() {
-  patch -d py-$pkgver -p1 -i ../py-pytest-4.patch || :  # Failures are doc only
-  rm -r py-$pkgver/py/_vendored_packages
-  cp -a py-$pkgver{,-py2}
-
-  export LC_CTYPE=en_US.UTF-8
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/py-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/py-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Known failure: https://github.com/pytest-dev/py/issues/104
-
-  cd "$srcdir"/py-$pkgver
-  python setup.py pytest || echo "Tests failed"
-
-  cd "$srcdir"/py-$pkgver-py2
-  python2 setup.py pytest || echo "Tests failed"
-}
-
-package_python-py() {
-  depends=('python-iniconfig' 'python-apipkg')
-
-  cd py-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-py() {
-  depends=('python2-iniconfig' 'python2-apipkg')
-
-  cd py-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-py/repos/community-staging-any/PKGBUILD (from rev 751508, python-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 10:15:35 UTC (rev 751509)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+# Contributor: Igor Ramos Tiburcio <irtigor at yahoo.com.br>
+# Contributor: Wieland Hoffmann <themineo+aur at gmail.com>
+# Contributor: Hervé Cauwelier <herve ¤ oursours.net>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-py
+pkgname=('python-py' 'python2-py')
+pkgver=1.9.0
+pkgrel=3
+pkgdesc="library with cross-python path, ini-parsing, io, code, log facilities"
+arch=('any')
+license=('MIT')
+url="https://py.readthedocs.io/"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
+             'python2-setuptools-scm' 'python-iniconfig' 'python2-iniconfig'
+             'python-apipkg' 'python2-apipkg')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/py/archive/$pkgver.tar.gz"
+        py-pytest-4.patch::https://github.com/pytest-dev/py/pull/222.patch)
+sha512sums=('f016e4985be9041346cef7b77d86a7fc035d60ab303795fa21e57683f679a6995ec6a64f609da10c9f26016c42f938875ca851f1bfa6cbabf87bc64aba6202d2'
+            'cabfdb8cd2e229bfbd5e770a145dde60f9e649f683f8e3d57d2cf393a4d246fcb0eae4596cbbee010de97bfca26470a5dd4280d0f9e34d7f30df19b09f5ea8b6')
+
+prepare() {
+  patch -d py-$pkgver -p1 -i ../py-pytest-4.patch || :  # Failures are doc only
+  rm -r py-$pkgver/py/_vendored_packages
+  cp -a py-$pkgver{,-py2}
+
+  export LC_CTYPE=en_US.UTF-8
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/py-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/py-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Known failure: https://github.com/pytest-dev/py/issues/104
+
+  cd "$srcdir"/py-$pkgver
+  python setup.py pytest || echo "Tests failed"
+
+  cd "$srcdir"/py-$pkgver-py2
+  python2 setup.py pytest || echo "Tests failed"
+}
+
+package_python-py() {
+  depends=('python-iniconfig' 'python-apipkg')
+
+  cd py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-py() {
+  depends=('python2-iniconfig' 'python2-apipkg')
+
+  cd py-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list