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

Felix Yan felixonmars at archlinux.org
Wed Mar 28 16:27:45 UTC 2018


    Date: Wednesday, March 28, 2018 @ 16:27:45
  Author: felixonmars
Revision: 313162

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-28 16:27:23 UTC (rev 313161)
+++ PKGBUILD	2018-03-28 16:27:45 UTC (rev 313162)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-path.py
-pkgname=('python-path.py' 'python2-path.py')
-pkgver=11.0
-pkgrel=1
-pkgdesc='A module wrapper for os.path'
-arch=('any')
-license=('MIT')
-url='https://github.com/jaraco/path.py'
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jaraco/path.py/archive/$pkgver.tar.gz")
-sha512sums=('300c35fde95d9fd2fd6d0ae2000008755651d2342e9f484547e96774fe68cb002bc8834bb90f67248f023db3bc602d7ae7f46b7fe8404a559d762246fe536109')
-
-prepare() {
-  cp -a path.py-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/path.py-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/path.py-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/path.py-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/path.py-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-path.py() {
-  depends=('python')
-
-  cd path.py-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-path.py() {
-  depends=('python2')
-
-  cd path.py-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-path.py/repos/community-any/PKGBUILD (from rev 313161, python-path.py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-28 16:27:45 UTC (rev 313162)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-path.py
+pkgname=('python-path.py' 'python2-path.py')
+pkgver=11.0.1
+pkgrel=1
+pkgdesc='A module wrapper for os.path'
+arch=('any')
+license=('MIT')
+url='https://github.com/jaraco/path.py'
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-flake8' 'python2-pytest-flake8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jaraco/path.py/archive/$pkgver.tar.gz")
+sha512sums=('28705ce0cb46f63191d25dfd2ad793a76019066076e0a3f6e2cbbd6191c3403cd5fe35c0781953984b959848b342301995d7a17334cfd779e4e70eb1d957fc34')
+
+prepare() {
+  cp -a path.py-$pkgver{,-py2}
+
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/path.py-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/path.py-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/path.py-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/path.py-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-path.py() {
+  depends=('python')
+
+  cd path.py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-path.py() {
+  depends=('python2')
+
+  cd path.py-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list