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

Felix Yan felixonmars at archlinux.org
Sun Feb 23 05:36:59 UTC 2020


    Date: Sunday, February 23, 2020 @ 05:36:59
  Author: felixonmars
Revision: 579283

archrelease: copy trunk to community-any

Added:
  python-path/repos/community-any/PKGBUILD
    (from rev 579282, python-path/trunk/PKGBUILD)
Deleted:
  python-path/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-23 05:36:50 UTC (rev 579282)
+++ PKGBUILD	2020-02-23 05:36:59 UTC (rev 579283)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-path
-pkgver=13.1.0
-pkgrel=1
-pkgdesc='A module wrapper for os.path'
-arch=('any')
-license=('MIT')
-url='https://github.com/jaraco/path'
-depends=('python')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
-replaces=('python-path.py')
-conflicts=('python-path.py')
-provides=('python-path.py')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path/archive/v$pkgver.tar.gz")
-sha512sums=('db27420ad117f36bf42e54284e931f92b18a6db71fab3a66cba65bb2c78c02747db637e5ea7f69d9fc2864c0dfc0aa4dede0c7183b49699ffc4416d6662f9185')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd path-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd path-$pkgver
-  # https://github.com/jaraco/path/issues/184
-  python -m pytest || :
-}
-
-package() {
-  cd path-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-path/repos/community-any/PKGBUILD (from rev 579282, python-path/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-23 05:36:59 UTC (rev 579283)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-path
+pkgver=13.2.0
+pkgrel=1
+pkgdesc='A module wrapper for os.path'
+arch=('any')
+license=('MIT')
+url='https://github.com/jaraco/path'
+depends=('python')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
+replaces=('python-path.py')
+conflicts=('python-path.py')
+provides=('python-path.py')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path/archive/v$pkgver.tar.gz")
+sha512sums=('59c9df45996eb227df101a13da968bcb006d9b89cb5c36ffcd08bdfb1102e7bd91bbe340b04ffea7478a0dda3dfa2df33412fcf9b6e6fb5af06952a82a6b6914')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd path-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd path-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd path-$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