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

Felix Yan felixonmars at archlinux.org
Wed Oct 12 04:36:03 UTC 2016


    Date: Wednesday, October 12, 2016 @ 04:36:02
  Author: felixonmars
Revision: 191985

archrelease: copy trunk to community-any

Added:
  python-setuptools-scm/repos/community-any/PKGBUILD
    (from rev 191984, 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-12 04:35:25 UTC (rev 191984)
+++ PKGBUILD	2016-10-12 04:36:02 UTC (rev 191985)
@@ -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.13.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 191984, python-setuptools-scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-12 04:36:02 UTC (rev 191985)
@@ -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.13.1
+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