From 4680ef344c40bb6d089d17e203d40892b3d7e363 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 23 Mar 2018 19:47:55 +0000
Subject: python-setuptools-scm: initial inclusion

---
 .../python_modules/python-setuptools-scm/PKGBUILD  | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/abs/core/python_modules/python-setuptools-scm/PKGBUILD b/abs/core/python_modules/python-setuptools-scm/PKGBUILD
index c874b8b..d4d0da6 100644
--- a/abs/core/python_modules/python-setuptools-scm/PKGBUILD
+++ b/abs/core/python_modules/python-setuptools-scm/PKGBUILD
@@ -3,17 +3,17 @@
 # Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
 
 pkgbase=python-setuptools-scm
-pkgname=(python2-setuptools-scm)
-pkgver=1.15.6
+pkgname=(python-setuptools-scm python2-setuptools-scm)
+pkgver=1.17.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=('python2-setuptools')
-checkdepends=('python2-pytest' 'mercurial' 'git' 'python2-pip')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'mercurial' 'git' 'python-pip' 'python2-pip')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools_scm/archive/v$pkgver.tar.gz")
-sha512sums=('c97669232a492e19bdb073c48f9e792ee029ee2af2191da65461436e2a66a3adf5ad490f0a1429c33a5574d4afeb0d54afedfe78f581fff890ecfc787d08ef5a')
+sha512sums=('8846a4c0b8a901108ee3444f1682235a68d74dec6468f5f32af6502c11e9a7aedf6f81744d9fdd4d71d59b4f9ddc1e9685ca7e2084ebb247800e6d03d7e15899')
 
 prepare() {
   cp -a setuptools_scm-$pkgver{,-py2}
@@ -22,9 +22,9 @@ prepare() {
 }
 
 build() {
-#  cd "$srcdir"/setuptools_scm-$pkgver
-#  python setup.py build
-#  python setup.py egg_info
+  cd "$srcdir"/setuptools_scm-$pkgver
+  python setup.py build
+  python setup.py egg_info
 
   cd "$srcdir"/setuptools_scm-$pkgver-py2
   python2 setup.py build
@@ -34,9 +34,9 @@ build() {
 check() {
   # Hack entry points by installing it
 
-#  cd "$srcdir"/setuptools_scm-$pkgver
-#  python setup.py install --root="$PWD/tmp_install" --optimize=1
-#  SETUPTOOLS_SCM_PRETEND_VERSION= PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test
+  cd "$srcdir"/setuptools_scm-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  SETUPTOOLS_SCM_PRETEND_VERSION= PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test
 
   cd "$srcdir"/setuptools_scm-$pkgver-py2
   python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-- 
cgit v0.12

