dev-python/setuptools_scm: version bump to 1.16.1
authorTim Harder <radhermit@gentoo.org>
Tue, 20 Mar 2018 03:32:52 +0000 (23:32 -0400)
committerTim Harder <radhermit@gentoo.org>
Tue, 20 Mar 2018 04:07:56 +0000 (00:07 -0400)
dev-python/setuptools_scm/Manifest
dev-python/setuptools_scm/setuptools_scm-1.16.1.ebuild [new file with mode: 0644]

index 38e65e6fc291e3e44cf8af68bb75f5e45d5d55de..bc55882199ef74c5900e947b6771e832d7abe415 100644 (file)
@@ -1,2 +1,3 @@
 DIST setuptools_scm-1.15.6.tar.gz 25779 BLAKE2B 01d6771c24015f072a46ff1429b964130f370f42a5cd3c634cc1bf9a506ca8547783087a0b9589ed4038168d034dddbe435540cd25a846536dc5a5c116f4168f SHA512 ae91ac28d396215be5418df3b36af726b6f2fb89707424383e920072fe8f9f75f613a99fe406cfbfffc61f9a857a3294259191694899351ef78aebba73d08816
 DIST setuptools_scm-1.15.7.tar.gz 15426 BLAKE2B 6c23f2bd74f51ec8633a814ce22e63e5afb9953244659833a61e810c9029227e1cc25a067a59cec5666add76863070ae5b7dc2600953a45def886e52378a3399 SHA512 0aa6056c03fe100cdaa7b11c9d2073431bb5c3904a80a994a8263c0ccac81f7a2c0b6c7e6dfd09ad605c5ff0e86981b894b42920cb69d1ef1d43ea08b2ddd4a0
+DIST setuptools_scm-1.16.1.tar.gz 28956 BLAKE2B 6721830e9ef171768afb94e6d6aacb829665658599409880e87c58e1bf2c6366d04a666ff60ed5d689bf376c258eda93367a4c52fe28ec694a3a93ac109db1fb SHA512 fd5017648c4a8af696e8528eab37061776e8495e2de3640f726e5e4347836eca5a13cbe54fc0c2223c3ae80ede1a81a6f3d9c0910a417545b9f9f206e5177a13
diff --git a/dev-python/setuptools_scm/setuptools_scm-1.16.1.ebuild b/dev-python/setuptools_scm/setuptools_scm-1.16.1.ebuild
new file mode 100644 (file)
index 0000000..8da7e59
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="package to manage versions by scm tags via setuptools"
+HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.python.org/pypi/setuptools_scm"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~amd64-fbsd"
+IUSE="git mercurial test"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       git? ( dev-vcs/git )
+       mercurial? ( dev-vcs/mercurial )
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+       distutils_install_for_testing
+       py.test -v -v -x -k testing/test_basic_api.py || die "tests failed under ${EPYTHON}"
+       py.test -v -v -x -k testing/test_functions.py || die "tests failed under ${EPYTHON}"
+       py.test -v -v -x -k testing/test_main.py || die "tests failed under ${EPYTHON}"
+       py.test -v -v -x -k testing/test_regressions.py || die "tests failed under ${EPYTHON}"
+       if use git; then
+               py.test -v -v -x -k testing/test_git.py || die "tests failed under ${EPYTHON}"
+       fi
+       if use mercurial; then
+               py.test -v -v -x -k testing/test_mercurial.py || die "tests failed under ${EPYTHON}"
+       fi
+}