[arch-commits] Commit in python-path.py/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 6 09:03:14 UTC 2019


    Date: Wednesday, November 6, 2019 @ 09:03:14
  Author: felixonmars
Revision: 524286

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 32 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-06 09:03:12 UTC (rev 524285)
+++ PKGBUILD	2019-11-06 09:03:14 UTC (rev 524286)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-path.py
-pkgver=12.0.1
-pkgrel=3
-pkgdesc='A module wrapper for os.path'
-arch=('any')
-license=('MIT')
-url='https://github.com/jaraco/path.py'
-depends=('python-importlib-metadata')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-runner' 'python-pytest-flake8')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path.py/archive/$pkgver.tar.gz"
-         path.py-pytest5.patch::"https://github.com/jaraco/path.py/commit/02eb16f0.patch")
-sha512sums=('5906b31db753374a75e8b1a8515ed3d6ab7b394906ce8d07aea13be77d5e6db164d79c4b1dc517c8c6692b4eef57505a5c739ba54e282dcbda01f37d21e04044'
-            '357b7568865030efde348a3e8ed745285ce3644496dfab32f9e67a293f506125f95fecc3b1def67b87a4e24836a4b161f8676ae675cb6f1cc501196ba0ca44c1')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cd path.py-$pkgver
-  patch -p1 -i ../path.py-pytest5.patch # Fix tests with pytest 5
-}
-
-build() {
-  cd path.py-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd path.py-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd path.py-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-path.py/repos/community-staging-any/PKGBUILD (from rev 524284, python-path.py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-06 09:03:14 UTC (rev 524286)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-path.py
+pkgver=12.0.2
+pkgrel=2
+pkgdesc='A module wrapper for os.path'
+arch=('any')
+license=('MIT')
+url='https://github.com/jaraco/path.py'
+depends=('python-importlib-metadata')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path.py/archive/v$pkgver.tar.gz")
+sha512sums=('8eb0f3046e8c642356dca9c51e3670475680d641d4d4252cfada48a2b179dbe22d05fa6c15782cd7913e30cb8d522cc681c47cf50e13fe8095f18f047bbf68ac')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd path.py-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd path.py-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd path.py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list