diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2017-05-09 20:27:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-11 20:20:03 +0200 |
commit | cfc14115e25bd8404a1f7f0e445020a1882a1b67 (patch) | |
tree | 8637a3255349ff304b7d9978b2277f2b43c82e47 | |
parent | media-libs/openh264: version bump to 1.6.0 (diff) | |
download | gentoo-cfc14115e25bd8404a1f7f0e445020a1882a1b67.tar.gz gentoo-cfc14115e25bd8404a1f7f0e445020a1882a1b67.tar.bz2 gentoo-cfc14115e25bd8404a1f7f0e445020a1882a1b67.zip |
dev-python/rst-linker: bump to 1.9, #617964
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | dev-python/rst-linker/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rst-linker/rst-linker-1.9.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index 5637ade29171..121fdbfdd689 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1,2 +1,3 @@ DIST rst.linker-1.6.tar.gz 6439 SHA256 e1eab99dba26c4562f1a034bd0122f84035f0e54750b20ca1e017ed225c66a2e SHA512 f2511f2bef0ef90b9b9bcda11542e768d242cde5d617f17bec1c23cb21819510703033c63b3dda2cacae73a605de2d8930512e040c6703dd881b4dc0d7022baf WHIRLPOOL c097a20d3bd3f3cdc7aeade9a586818a47ad282877d47999de6aaa240595849b127ef84ee25e677bcfc21ce9b4b99e3e7fe7b71d8571ba465d0854b1961350c2 DIST rst.linker-1.7.tar.gz 6798 SHA256 59038b0dce170f7d6459132a1b7358b01f71f372afbf5b1c07d0862ba4a5042e SHA512 380cd1b36a1153a6512144b7c83be75dfa95ce397437d34cb76c4c41de6266c77cf1f811f4fb0576838e10bd78e1f46394df11b0f7dc5e3fafeef36b6e8c9ba0 WHIRLPOOL 7d323528ed0c7bba5db1159eb18063a4b191d81d400c1e8d02d0dcff3265183ca4ca0d56de5c674883dc1d02ea77eb7ec83c1b08d4622f4d820f5a1702a5833b +DIST rst.linker-1.9.tar.gz 7618 SHA256 4de05e547d14ac16599d6379a73d394b8eba03afb1f16b6bdb400013957d9999 SHA512 b3e39b025f75bb6ff670f23ee7abd48dcc4e19343626c1ffadd2304a7e3285fe0b7369ace96e47094606e864672c8aeea967a02217b110762e53498dde64b8a7 WHIRLPOOL 15cef12c451a8bffec7303f2909e173993819bdb3d214c07f2b606464fa0ff6d222b33bff3df44a2a1652f2b144f85a11e8dbb4b9a82257bca6123f1944eb828 diff --git a/dev-python/rst-linker/rst-linker-1.9.ebuild b/dev-python/rst-linker/rst-linker-1.9.ebuild new file mode 100644 index 000000000000..4bdfb051d264 --- /dev/null +++ b/dev-python/rst-linker/rst-linker-1.9.ebuild @@ -0,0 +1,49 @@ +# 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 +} |