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

Felix Yan felixonmars at archlinux.org
Thu Apr 2 07:52:52 UTC 2020


    Date: Thursday, April 2, 2020 @ 07:52:51
  Author: felixonmars
Revision: 379130

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 07:52:36 UTC (rev 379129)
+++ PKGBUILD	2020-04-02 07:52:51 UTC (rev 379130)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pep517
-pkgname=('python-pep517' 'python2-pep517')
-pkgver=0.8.1
-pkgrel=1
-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=('72227734e9216b437a618abbcc2eb1795914915c2ddad31f344465f1fb24d66a345cbdab3ee5f7c8e740ddb3a75c9217ea90a950c4b5f123cce9cf7b15e560ba')
-
-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/extra-any/PKGBUILD (from rev 379129, python-pep517/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-02 07:52:51 UTC (rev 379130)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pep517
+pkgname=('python-pep517' 'python2-pep517')
+pkgver=0.8.2
+pkgrel=1
+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=('668569a26a4c21a1b8d6828a26bdcdab62b8c4d5fcaba8d9f9a4740e0fce7f071295e28d91349500b4c7be05ab2c2670986de18f01e2afafc1878101e5ef9af2')
+
+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