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

Felix Yan felixonmars at archlinux.org
Fri Aug 10 05:17:47 UTC 2018


    Date: Friday, August 10, 2018 @ 05:17:46
  Author: felixonmars
Revision: 370724

archrelease: copy trunk to community-any

Added:
  python-setuptools-scm/repos/community-any/PKGBUILD
    (from rev 370723, 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	2018-08-10 05:17:07 UTC (rev 370723)
+++ PKGBUILD	2018-08-10 05:17:46 UTC (rev 370724)
@@ -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=3.0.6
-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')
-checkdepends=('python-pytest' 'python2-pytest' 'mercurial' 'git' 'python-pip' 'python2-pip')
-source=("https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-$pkgver.tar.gz")
-sha512sums=('f3d7e84b999c1fa2e13f9d6171f44727e10bf35e7443ab9faa07c40f7c6654ffc76950f3c04137b0d434524c1f6d464618733dc56a97ebf735d61bb191e7e47c')
-
-prepare() {
-  cp -a setuptools_scm-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/setuptools_scm-$pkgver
-  python setup.py build
-  python setup.py egg_info
-
-  cd "$srcdir"/setuptools_scm-$pkgver-py2
-  python2 setup.py build
-  python2 setup.py egg_info
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/setuptools_scm-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/setuptools_scm-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-setuptools-scm() {
-  depends=('python-setuptools')
-  provides=('python-setuptools_scm')
-  conflicts=('python-setuptools_scm')
-  replaces=('python-setuptools_scm')
-
-  cd "$srcdir"/setuptools_scm-$pkgver
-  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-$pkgver-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 370723, python-setuptools-scm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-10 05:17:46 UTC (rev 370724)
@@ -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=3.1.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')
+checkdepends=('python-pytest' 'python2-pytest' 'mercurial' 'git' 'python-pip' 'python2-pip')
+source=("https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-$pkgver.tar.gz")
+sha512sums=('bd84bb02900ddc7de2f02dd7cb62bafdea7040ebdc2506b72d05f2c6a6d16be903321e576f63a04f2aa13d8c75b1834dec7d9ea8444e8330281f8e586a3d6426')
+
+prepare() {
+  cp -a setuptools_scm-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/setuptools_scm-$pkgver
+  python setup.py build
+  python setup.py egg_info
+
+  cd "$srcdir"/setuptools_scm-$pkgver-py2
+  python2 setup.py build
+  python2 setup.py egg_info
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/setuptools_scm-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/setuptools_scm-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-setuptools-scm() {
+  depends=('python-setuptools')
+  provides=('python-setuptools_scm')
+  conflicts=('python-setuptools_scm')
+  replaces=('python-setuptools_scm')
+
+  cd "$srcdir"/setuptools_scm-$pkgver
+  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-$pkgver-py2
+  python2 setup.py install --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list