[arch-commits] Commit in python-pep517/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 18:45:37 UTC 2021
Date: Thursday, December 2, 2021 @ 18:45:36
Author: felixonmars
Revision: 430334
archrelease: copy trunk to staging-any
Added:
python-pep517/repos/staging-any/PKGBUILD
(from rev 430333, python-pep517/trunk/PKGBUILD)
Deleted:
python-pep517/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 18:45:27 UTC (rev 430333)
+++ PKGBUILD 2021-12-02 18:45:36 UTC (rev 430334)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pep517
-pkgver=0.12.0
-pkgrel=3
-pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
-arch=('any')
-license=('MIT')
-url="https://github.com/takluyver/pep517"
-depends=('python-tomli')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest-flake8' 'python-testpath' 'python-pip' 'python-flit-core')
-source=("https://pypi.io/packages/source/p/pep517/pep517-$pkgver.tar.gz")
-sha512sums=('5af1fd2e35414d2a91104c967c48e554c9f838d598e14bc55f9a824c16ba484c817a90065b6734568fc77660bd85b309347392774fb4d54dd969dab8680768e7')
-
-prepare() {
- # Copied from openSUSE:
- # Remove what appears to be overly cautious flag
- # that causes tests to require internet, both here
- # and the test suites of any dependencies. Tracking at:
- # https://github.com/pypa/pep517/issues/101
- sed -i "s/ '--ignore-installed',//" pep517-$pkgver/pep517/envbuild.py
-}
-
-build() {
- cd "$srcdir"/pep517-$pkgver
- python setup.py build
-}
-
-check() {
- cd pep517-$pkgver
- # setup.py: https://github.com/pypa/pep517/issues/35
- # tests/test_meta.py::test_classic_package: error in pip install command
- pytest --deselect setup.py --deselect tests/test_meta.py::test_classic_package
-}
-
-package() {
- cd pep517-$pkgver
- python 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 430333, python-pep517/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 18:45:36 UTC (rev 430334)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pep517
+pkgver=0.12.0
+pkgrel=4
+pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
+arch=('any')
+license=('MIT')
+url="https://github.com/takluyver/pep517"
+depends=('python-tomli')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest-flake8' 'python-testpath' 'python-pip' 'python-flit-core')
+source=("https://pypi.io/packages/source/p/pep517/pep517-$pkgver.tar.gz")
+sha512sums=('5af1fd2e35414d2a91104c967c48e554c9f838d598e14bc55f9a824c16ba484c817a90065b6734568fc77660bd85b309347392774fb4d54dd969dab8680768e7')
+
+prepare() {
+ # Copied from openSUSE:
+ # Remove what appears to be overly cautious flag
+ # that causes tests to require internet, both here
+ # and the test suites of any dependencies. Tracking at:
+ # https://github.com/pypa/pep517/issues/101
+ sed -i "s/ '--ignore-installed',//" pep517-$pkgver/pep517/envbuild.py
+}
+
+build() {
+ cd "$srcdir"/pep517-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pep517-$pkgver
+ # setup.py: https://github.com/pypa/pep517/issues/35
+ # tests/test_meta.py::test_classic_package: error in pip install command
+ pytest --deselect setup.py --deselect tests/test_meta.py::test_classic_package
+}
+
+package() {
+ cd pep517-$pkgver
+ python 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