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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 11:58:50 UTC 2020


    Date: Thursday, November 12, 2020 @ 11:58:49
  Author: foutrelis
Revision: 400501

archrelease: copy trunk to staging-any

Added:
  python-pep517/repos/staging-any/PKGBUILD
    (from rev 400500, python-pep517/trunk/PKGBUILD)
Deleted:
  python-pep517/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 11:58:45 UTC (rev 400500)
+++ PKGBUILD	2020-11-12 11:58:49 UTC (rev 400501)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pep517
-pkgname=('python-pep517' 'python2-pep517')
-pkgver=0.9.1
-pkgrel=2
-pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
-arch=('any')
-license=('MIT')
-url="https://github.com/takluyver/pep517"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-toml' 'python2-toml'
-             'python2-importlib-metadata' 'python2-zipp')
-checkdepends=('python-mock' 'python-pytest-flake8' 'python-testpath' 'python-pip')
-source=("https://pypi.io/packages/source/p/pep517/pep517-$pkgver.tar.gz")
-sha512sums=('7c7d181d52a6d042ad432c4366021f9b2364c77193d99066668acd4c6967dab299644febf0dc4a6efb9a777a0aaae7df2687191cba3f3b93e6bf06ee0769a7df')
-
-prepare() {
-  cp -a pep517-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pep517-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pep517-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd pep517-$pkgver
-  # https://github.com/pypa/pep517/issues/35
-  pytest --deselect setup.py
-}
-
-package_python-pep517() {
-  depends=('python-toml')
-
-  cd pep517-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pep517() {
-  depends=('python2-toml' 'python2-importlib-metadata' 'python2-zipp')
-
-  cd pep517-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pep517/repos/staging-any/PKGBUILD (from rev 400500, python-pep517/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 11:58:49 UTC (rev 400501)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pep517
+pkgname=('python-pep517' 'python2-pep517')
+pkgver=0.9.1
+pkgrel=3
+pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
+arch=('any')
+license=('MIT')
+url="https://github.com/takluyver/pep517"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-toml' 'python2-toml'
+             'python2-importlib-metadata' 'python2-zipp')
+checkdepends=('python-mock' 'python-pytest-flake8' 'python-testpath' 'python-pip')
+source=("https://pypi.io/packages/source/p/pep517/pep517-$pkgver.tar.gz")
+sha512sums=('7c7d181d52a6d042ad432c4366021f9b2364c77193d99066668acd4c6967dab299644febf0dc4a6efb9a777a0aaae7df2687191cba3f3b93e6bf06ee0769a7df')
+
+prepare() {
+  cp -a pep517-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pep517-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pep517-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd pep517-$pkgver
+  # https://github.com/pypa/pep517/issues/35
+  pytest --deselect setup.py
+}
+
+package_python-pep517() {
+  depends=('python-toml')
+
+  cd pep517-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pep517() {
+  depends=('python2-toml' 'python2-importlib-metadata' 'python2-zipp')
+
+  cd pep517-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list