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

Felix Yan fyan at archlinux.org
Fri Nov 13 02:05:51 UTC 2015


    Date: Friday, November 13, 2015 @ 03:05:51
  Author: fyan
Revision: 146661

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-13 02:05:31 UTC (rev 146660)
+++ PKGBUILD	2015-11-13 02:05:51 UTC (rev 146661)
@@ -1,61 +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)
-_pkgname=setuptools_scm
-pkgver=1.8.0
-pkgrel=2
-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#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a $_pkgname{,-py2}
-}
-
-build() {
-  cd "${srcdir}/${_pkgname}"
-  python setup.py build
-  python setup.py egg_info
-
-  cd "${srcdir}/${_pkgname}-py2"
-  python2 setup.py build
-  python2 setup.py egg_info
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir/${_pkgname}"
-  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/${_pkgname}-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')
-
-  cd "${srcdir}/${_pkgname}"
-  python setup.py install --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-setuptools_scm() {
-  depends=('python2-setuptools')
-
-  cd "${srcdir}/${_pkgname}-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 146660, python-setuptools_scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-11-13 02:05:51 UTC (rev 146661)
@@ -0,0 +1,61 @@
+# $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)
+_pkgname=setuptools_scm
+pkgver=1.9.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#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a $_pkgname{,-py2}
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}"
+  python setup.py build
+  python setup.py egg_info
+
+  cd "${srcdir}/${_pkgname}-py2"
+  python2 setup.py build
+  python2 setup.py egg_info
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir/${_pkgname}"
+  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/${_pkgname}-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')
+
+  cd "${srcdir}/${_pkgname}"
+  python setup.py install --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-setuptools_scm() {
+  depends=('python2-setuptools')
+
+  cd "${srcdir}/${_pkgname}-py2"
+  python2 setup.py install --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list