diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-04-09 08:36:18 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-04-09 08:42:41 -0700 |
commit | 6b26ab2c433838befbddcbed08553553366891be (patch) | |
tree | 171928e3fdff68ae173d04a6c42d72eaa23a2e72 /media-gfx/xdot | |
parent | media-gfx/xdot: Rework live ebuild (diff) | |
download | gentoo-6b26ab2c433838befbddcbed08553553366891be.tar.gz gentoo-6b26ab2c433838befbddcbed08553553366891be.tar.bz2 gentoo-6b26ab2c433838befbddcbed08553553366891be.zip |
media-gfx/xdot: Version bump to 1.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-gfx/xdot')
-rw-r--r-- | media-gfx/xdot/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/xdot/xdot-1.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/xdot/Manifest b/media-gfx/xdot/Manifest index 9a86867e069e..87fb1f52e3b6 100644 --- a/media-gfx/xdot/Manifest +++ b/media-gfx/xdot/Manifest @@ -1,2 +1,3 @@ DIST xdot-0.8.tar.gz 131659 BLAKE2B e8bfa034cd106054ef070b5c1cfe641b7fb3ce37f60c747c5ccb339f2b4bbbeb58b54f6f1f9cf57544c53a81d0bf61e4e787a6a78c18b6db90b5cceee3720e70 SHA512 76eea4054ed5b9b3fa25c53dcbceed6671ee622ed6d841ee30cb1005beaf35a74c4e36e4b577b69ef12e39f6e8fcb8f38d1bb024bb9abe92df8c672f0c114ab3 DIST xdot-1.0.tar.gz 131868 BLAKE2B 433d81913d19ae341c7168d9e22a2c8a54f49b0ad6b0da744cc3152766b333252b9ad7ba3831bdb17fc29a2408f8bdf3d929a438e89a78945f8edd7a8cd123b9 SHA512 52330380973ee122ac5d93f1be5b8f21b5719f537c93dd6f356a116207e366d16cf3cefcb9ec59b21b7170dc94e1f413307c3980e9ba2eaef5ce45340b50b311 +DIST xdot-1.1.tar.gz 134215 BLAKE2B e241a4fb1ec69a8613f7813dc159761e6bffb82ea9f58876287d01946f4c93e66e5eef66e6844abb7738979412c2c7d2d26f76bc0563ad0c3c8550d9e8023b47 SHA512 d67c45c8c071013551f79d671a21ce546b680fac5997ba9631a882ffa3c44c15a69949643ed5e8211417006152575a1d99450ccfb6062427521d1e2bc0814f55 diff --git a/media-gfx/xdot/xdot-1.1.ebuild b/media-gfx/xdot/xdot-1.1.ebuild new file mode 100644 index 000000000000..8842ac3a99a5 --- /dev/null +++ b/media-gfx/xdot/xdot-1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7} ) + +MY_PN=xdot.py +EGIT_REPO_URI="https://github.com/jrfonseca/${MY_PN}" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" + SRC_URI="" +else + KEYWORDS="~amd64 ~x86" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/jrfonseca/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +inherit ${GIT_ECLASS} distutils-r1 + +DESCRIPTION="Interactive viewer for Graphviz dot files" +HOMEPAGE="https://github.com/jrfonseca/xdot.py" + +LICENSE="LGPL-2+" +SLOT="0" + +DEPEND=" + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + media-gfx/graphviz +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + [[ $PV = 9999* ]] && git-r3_src_unpack +} + +src_prepare() { + eapply_user + + # Don't require graphviz python(2) supprt, which xdot doesn't use. This allows xdot to support python3. + # For more info, see https://bugs.gentoo.org/643126 + sed -i "/install_requires=\['graphviz'\],/d" setup.py || die +} |