From d4bd6695641f6d2ec7ff8681913d304e995902f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 May 2018 03:22:09 +0100 Subject: gentoo resync : 29.05.2018 --- dev-python/rst-linker/Manifest | 3 +- dev-python/rst-linker/rst-linker-1.10.ebuild | 51 ++++++++++++++++++++++++++++ dev-python/rst-linker/rst-linker-1.9.ebuild | 49 -------------------------- 3 files changed, 53 insertions(+), 50 deletions(-) create mode 100644 dev-python/rst-linker/rst-linker-1.10.ebuild delete mode 100644 dev-python/rst-linker/rst-linker-1.9.ebuild (limited to 'dev-python/rst-linker') diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index 17ef0aa80c54..31fe4ed328da 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1,6 +1,7 @@ +DIST rst.linker-1.10.tar.gz 8820 BLAKE2B 3615353dcce16652aa3528985997467e1501161b012fad44203fd98cc5e91dc32acf6c8492f0797ae748a87c008e5f3437833b435c5cbd85845340b91665e664 SHA512 5541d0ba5299a6efee444ed3c4fb4f108bcdd7c84e4be0b0a44f71c9f13e18d5b5c4c38328a542fe5666d435e1e04c35c0db5535706a45932dc01590813a85cc DIST rst.linker-1.7.tar.gz 6798 BLAKE2B d4d5129bd79534cbc58f287a60876153325cde3142b3e516e3a75f22827f78c85edbd8eb2777263e6bf3c04f6ebabc78441647df3ed23950982ebd7ebe156632 SHA512 380cd1b36a1153a6512144b7c83be75dfa95ce397437d34cb76c4c41de6266c77cf1f811f4fb0576838e10bd78e1f46394df11b0f7dc5e3fafeef36b6e8c9ba0 DIST rst.linker-1.9.tar.gz 7618 BLAKE2B b344495a217d7cd1c057256701130851975e46c45a740251ce20efa5131feb46a074fb1367a645e89b436b7e093baad1a484d06ca069ebc0f59eca8183ddd36d SHA512 b3e39b025f75bb6ff670f23ee7abd48dcc4e19343626c1ffadd2304a7e3285fe0b7369ace96e47094606e864672c8aeea967a02217b110762e53498dde64b8a7 +EBUILD rst-linker-1.10.ebuild 1396 BLAKE2B ae2c53d4111c84b571309601d21632fb6caf2fb725a0129c8db34d0d0ae81427cbd111159660aeb2911900257e410bd597e863445f1e73fd8aeafdf433a233de SHA512 ee5b23d806dce25c0a0b1a8e3211a34d0f697ab65ce9da16dfad6f092912d59a03a85477afe6e9d78b5b9a418c05494ec6e639d87d374de7a1b5c8162cb0ce74 EBUILD rst-linker-1.7.ebuild 1200 BLAKE2B ca7f649fd76bb08cc7122d237cae9f977f415ecc03028bbf200fe40d37082b30c65a8a98581ed97f525ac8df39949779c67e7f62f1f027925021832b146ced7f SHA512 e0946205ec855c47207e25223cd60b8b41545a22cc57ff1db55c2a06d3bcc68e4435ce142836dd4c270761cf3e829a108b81e7d2d454312b40934d68d150fed4 EBUILD rst-linker-1.9-r1.ebuild 1393 BLAKE2B 98aade6856d5032c3a7c4694e277a9371b647a8d4695ddfc4fce5f3ccaa7fec95fa4fb9f980e82044f45311345cbcadd0f83c2b317596e4b3b9962e104ab15b6 SHA512 d706b3438d5b2ee31508d5824290a34815a68adccd8142ff5dfb3ecf4469d95171a42ff71725078bc72d89cfe049f85c7478c07c475faec8b063f956496c2310 -EBUILD rst-linker-1.9.ebuild 1212 BLAKE2B 228c9a5950824db8f05e068316043538d1558b85dd01e96b6c1ae9b1d6db073d71b53cc0bf9a162a97919f4db5498e212ad05873a74fb345e0bf2c50e734f512 SHA512 ae2b09ff33aa50441528eeed10bb62a2a6d69a746fcd73462e133ea2b7a2bf0944880066511bf3167cf3ec416c8df9333222ffa25265bc81871edceb161612e6 MISC metadata.xml 564 BLAKE2B 1d04c02d9c845bf6b6d1a69d1ee34dd4835b3f8ae8662b8fec9ba17d33f10a307293b78da6223e0385c35ce9d716c5f0545bbeeda89cc3d0925b454b1c0c7943 SHA512 c3fbcb945acb81c57e91ea8b26c797b71e959c2f3d9f0eb7db696e4ae26b9004bb3b6f554740169b9a2c96cde3fbe8b30721b285b82e07ed193a2117e0436f36 diff --git a/dev-python/rst-linker/rst-linker-1.10.ebuild b/dev-python/rst-linker/rst-linker-1.10.ebuild new file mode 100644 index 000000000000..b84ffd335f50 --- /dev/null +++ b/dev-python/rst-linker/rst-linker-1.10.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" +HOMEPAGE="https://github.com/jaraco/rst.linker" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +IUSE="doc test" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/path-py[${PYTHON_USEDEP}] + >=dev-python/pytest-3.4[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Ignore the module from ${S}, use the one from ${BUILD_DIR} + # Otherwise, ImportMismatchError may occur + # https://github.com/gentoo/gentoo/pull/1622#issuecomment-224482396 + # Override pytest options to skip flake8 + py.test -v --ignore=rst --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/rst-linker/rst-linker-1.9.ebuild b/dev-python/rst-linker/rst-linker-1.9.ebuild deleted file mode 100644 index 4bdfb051d264..000000000000 --- a/dev-python/rst-linker/rst-linker-1.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) - -inherit distutils-r1 - -MY_PN="${PN/-/.}" -DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" -HOMEPAGE="https://github.com/jaraco/rst.linker" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc test" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - ${RDEPEND} - dev-python/path-py[${PYTHON_USEDEP}] - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] - ) -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -python_compile_all() { - use doc && esetup.py build_sphinx -} - -python_test() { - py.test --ignore=rst || die "tests failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) - distutils-r1_python_install_all -} -- cgit v1.2.3