[arch-commits] Commit in python-path.py/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 30 08:48:33 UTC 2017
Date: Monday, October 30, 2017 @ 08:48:31
Author: felixonmars
Revision: 264727
archrelease: copy trunk to community-any
Added:
python-path.py/repos/community-any/PKGBUILD
(from rev 264726, 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 2017-10-30 08:48:08 UTC (rev 264726)
+++ PKGBUILD 2017-10-30 08:48:31 UTC (rev 264727)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-path.py
-pkgname=('python-path.py' 'python2-path.py')
-pkgver=10.4
-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=('33f72652a751b352783aa6614b43330f5d508a3266c5a06153bd7b22bbc8c99dd5154d75bd14fb853347895d3c2cf3fbe2b7e133428baa86d37f2c1aa89b4078')
-
-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 264726, python-path.py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-30 08:48:31 UTC (rev 264727)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-path.py
+pkgname=('python-path.py' 'python2-path.py')
+pkgver=10.5
+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=('c8e8af7cf4a1498c8bd2bc0bc067bf79f26455d05968222dc47adb8112922ad1c6b23e40ecf5a196f1d5dc4b6d6172bf5c088abf61255e09a2aa9ee84fed249b')
+
+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