[arch-commits] Commit in python-setuptools-scm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 20 23:45:58 UTC 2016
Date: Thursday, October 20, 2016 @ 23:45:57
Author: felixonmars
Revision: 192756
archrelease: copy trunk to community-any
Added:
python-setuptools-scm/repos/community-any/PKGBUILD
(from rev 192755, python-setuptools-scm/trunk/PKGBUILD)
Deleted:
python-setuptools-scm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-20 23:45:38 UTC (rev 192755)
+++ PKGBUILD 2016-10-20 23:45:57 UTC (rev 192756)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-
-pkgbase=python-setuptools-scm
-pkgname=(python-setuptools-scm python2-setuptools-scm)
-pkgver=1.14.0
-pkgrel=1
-pkgdesc="Handles managing your python package versions in scm metadata."
-arch=('any')
-url="https://github.com/pypa/setuptools_scm"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mercurial')
-source=("git+https://github.com/pypa/setuptools_scm.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
- cp -a setuptools_scm{,-py2}
-}
-
-build() {
- cd "$srcdir"/setuptools_scm
- python setup.py build
- python setup.py egg_info
-
- cd "$srcdir"/setuptools_scm-py2
- python2 setup.py build
- python2 setup.py egg_info
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/setuptools_scm
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python setup.py ptr
-
- cd "$srcdir"/setuptools_scm-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 setup.py ptr
-}
-
-package_python-setuptools-scm() {
- depends=('python-setuptools')
- provides=('python-setuptools_scm')
- conflicts=('python-setuptools_scm')
- replaces=('python-setuptools_scm')
-
- cd "$srcdir"/setuptools_scm
- python setup.py install --root "$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-setuptools-scm() {
- depends=('python2-setuptools')
- provides=('python2-setuptools_scm')
- conflicts=('python2-setuptools_scm')
- replaces=('python2-setuptools_scm')
-
- cd "$srcdir"/setuptools_scm-py2
- python2 setup.py install --root "$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-setuptools-scm/repos/community-any/PKGBUILD (from rev 192755, python-setuptools-scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-20 23:45:57 UTC (rev 192756)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgbase=python-setuptools-scm
+pkgname=(python-setuptools-scm python2-setuptools-scm)
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="Handles managing your python package versions in scm metadata."
+arch=('any')
+url="https://github.com/pypa/setuptools_scm"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mercurial')
+source=("git+https://github.com/pypa/setuptools_scm.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a setuptools_scm{,-py2}
+}
+
+build() {
+ cd "$srcdir"/setuptools_scm
+ python setup.py build
+ python setup.py egg_info
+
+ cd "$srcdir"/setuptools_scm-py2
+ python2 setup.py build
+ python2 setup.py egg_info
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir"/setuptools_scm
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python setup.py ptr
+
+ cd "$srcdir"/setuptools_scm-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 setup.py ptr
+}
+
+package_python-setuptools-scm() {
+ depends=('python-setuptools')
+ provides=('python-setuptools_scm')
+ conflicts=('python-setuptools_scm')
+ replaces=('python-setuptools_scm')
+
+ cd "$srcdir"/setuptools_scm
+ python setup.py install --root "$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-setuptools-scm() {
+ depends=('python2-setuptools')
+ provides=('python2-setuptools_scm')
+ conflicts=('python2-setuptools_scm')
+ replaces=('python2-setuptools_scm')
+
+ cd "$srcdir"/setuptools_scm-py2
+ python2 setup.py install --root "$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list