diff options
Diffstat (limited to 'dev-python/setuptools_scm')
-rw-r--r-- | dev-python/setuptools_scm/Manifest | 3 | ||||
-rw-r--r-- | dev-python/setuptools_scm/metadata.xml | 3 | ||||
-rw-r--r-- | dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild | 39 |
3 files changed, 44 insertions, 1 deletions
diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest index 70d3e241e427..b089e2426b98 100644 --- a/dev-python/setuptools_scm/Manifest +++ b/dev-python/setuptools_scm/Manifest @@ -1,5 +1,6 @@ DIST setuptools_scm-1.15.0.tar.gz 23677 BLAKE2B 72d1bb9e3bfd15157ded9a46804dc8a18bdb529268d014e5a4ba9d4a32e48cbc124cdb65ab93136a7a1b6b62a3d24e4c5775f4738db8e3e75c9c149ae9c61f9a SHA512 860fd9460f0d1d5ec9369c2936342f9679b8815e1d705999698b7bd82adb41a65048df68e57065e530972ef57e43a251ac41d6587972b1d5af40cd0249bd081d DIST setuptools_scm-1.15.6.tar.gz 25779 BLAKE2B 01d6771c24015f072a46ff1429b964130f370f42a5cd3c634cc1bf9a506ca8547783087a0b9589ed4038168d034dddbe435540cd25a846536dc5a5c116f4168f SHA512 ae91ac28d396215be5418df3b36af726b6f2fb89707424383e920072fe8f9f75f613a99fe406cfbfffc61f9a857a3294259191694899351ef78aebba73d08816 EBUILD setuptools_scm-1.15.0.ebuild 772 BLAKE2B 9bafd5038719360380e14ebc8c3b2039ba572898955047c25988cceb1817196656b4b97a79afe13eb8e49578b4c0673f6b916195a3b73e7cf1b520ad77eae099 SHA512 b41121afba5603f74e4f791620a388d228ac8b827eb7b6cfd71da714fe3ad1ae35088f718c004509aaf710c7a79251d300e8711a034bdfafb396e7fc48c1d4e7 +EBUILD setuptools_scm-1.15.6-r1.ebuild 1366 BLAKE2B 444b81e15a6360557a1d7b44a41a121970d9ed2eb60c01f809422e026e995568b192f9428404586ac402943825f486a1390ce9ae64036fbfce9d56f4a33113ad SHA512 4befbf9ca06b734a655dacc5e7976e2792711af126250632fc7707eae39e9b582d227d4a30ea2163d64e9e26dfa46d78cf67ce16b99b828da793ff5655a8c697 EBUILD setuptools_scm-1.15.6.ebuild 828 BLAKE2B de7fb849b2fae93c8ff9d9d1a5189027520a08770d01f88e6dd59d6511abcaf23241914d91f229a288d981ad6141626e1b8d3e4a655513cde28a0d734730802b SHA512 fe5f8586a7894266f1a09df5883e5f2d80abd04a5fa7e399a324f8ab44bce5861f003211857d2b2c6b68dce28c63ba269d9517f0151ac1737c625f9af1d248a7 -MISC metadata.xml 438 BLAKE2B 10b56535d3839fec5a07d9cabc381dcc94f9ef5dc956cca1f74d29f567f5b99f0cfd068b53bb92792e4b55ec4af3109489e00d35695c6165dc4ae3af167f654b SHA512 cd0e323a85bb13cfe7ee6b3102e605e800aa93a4d4452c20b85e7f48541f5ebec23140ef7f2e3f282cf3c3e7bc6764c0efbe34eef48ad1fd722d57803d668b01 +MISC metadata.xml 511 BLAKE2B 7ee7b4fe4bb93bca13880e9f6f2e0ae90a27fa79f1bb99395d234322a61de1b2f13906069bde898ad6a3f83e8dc03302cae1fe24eed92e1b7fe6e349b98ed957 SHA512 cf1e97d13c127fa92e8bc5e5d41bb308761c6b75f267969662162f50a4a1a9d9f80bd2cb037711d2f5c7204204ddb9873f21cae5d6831a3127f3cddee3878a31 diff --git a/dev-python/setuptools_scm/metadata.xml b/dev-python/setuptools_scm/metadata.xml index 3aabcf579918..36c2a8fbd06e 100644 --- a/dev-python/setuptools_scm/metadata.xml +++ b/dev-python/setuptools_scm/metadata.xml @@ -10,4 +10,7 @@ <remote-id type="bitbucket">pypa/setuptools_scm</remote-id> <remote-id type="github">pypa/setuptools_scm</remote-id> </upstream> + <use> + <flag name="mercurial">Enables mercurial backend</flag> + </use> </pkgmetadata> diff --git a/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild b/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild new file mode 100644 index 000000000000..006c5a9012f6 --- /dev/null +++ b/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild @@ -0,0 +1,39 @@ +# 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" +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 +} |