From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- app-office/pybliographer/Manifest | 2 +- .../pybliographer/pybliographer-1.4.0-r2.ebuild | 66 --------------------- .../pybliographer/pybliographer-1.4.0-r3.ebuild | 68 ++++++++++++++++++++++ 3 files changed, 69 insertions(+), 67 deletions(-) delete mode 100644 app-office/pybliographer/pybliographer-1.4.0-r2.ebuild create mode 100644 app-office/pybliographer/pybliographer-1.4.0-r3.ebuild (limited to 'app-office/pybliographer') diff --git a/app-office/pybliographer/Manifest b/app-office/pybliographer/Manifest index b81ad92a9d45..5d8b1864dbd2 100644 --- a/app-office/pybliographer/Manifest +++ b/app-office/pybliographer/Manifest @@ -1,3 +1,3 @@ DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a -EBUILD pybliographer-1.4.0-r2.ebuild 1761 BLAKE2B f63d1c712b5e8d6ee7b23b9ef327b0051363cd78711d499329bfef6ae82da650235de21415cc7cdceadc3805f62d61b91916057d1c31211ba9b576eef6708ff9 SHA512 111dcc0ab79067fddef9af9d11ac4fee3a7f47a5ef5c02494233080e7558df9c92778c79f30ee1155a1255097a51494559a5714ea131467b5e823c1a8566638c +EBUILD pybliographer-1.4.0-r3.ebuild 1818 BLAKE2B 2a8e2c22a61081f58c9894cadc583ebf317b33c8c6482dab591e4d86a19991f6d288d4b19e95be963b1663906bd02629942be6cdb29f7deb75ea9c98d03ca742 SHA512 50fa29b3ab95e0fa9c31c3f1b66268625f259b5653fe7f6e83ac4f63880276d706730de2cf2dff5aa15bf03cfc31af0b036bb8ff111f97b057a5476767ce5b73 MISC metadata.xml 532 BLAKE2B ed73825501256ad3ed06ca73ac8c749314d8a36320fa4123233b277dacde5d7f042b609a4a9c6c92b5f93de0bc130027ba526db7fea1e642d1e223a79313c2b1 SHA512 2a130a3d8b8e9802d6e27169b02c64ceda7d59d5f3625793ca9507917e96625e2a2497aa241393fe9d329c6f9e0ddc87213e0d66a8d937d7662c96a93e04cec7 diff --git a/app-office/pybliographer/pybliographer-1.4.0-r2.ebuild b/app-office/pybliographer/pybliographer-1.4.0-r2.ebuild deleted file mode 100644 index 4cf3e67ada7b..000000000000 --- a/app-office/pybliographer/pybliographer-1.4.0-r2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME2_EAUTORECONF="yes" -PYTHON_COMPAT=( python2_7 ) - -inherit gnome2 python-single-r1 - -DESCRIPTION="Pybliographer is a tool for working with bibliographic databases" -HOMEPAGE="https://pybliographer.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=app-text/recode-3.6-r1 - app-text/rarian - dev-libs/glib:2 - dev-python/gconf-python:2[${PYTHON_USEDEP}] - dev-python/pygobject:2[${PYTHON_USEDEP}] - >=dev-python/pygtk-2.24.0:2[${PYTHON_USEDEP}] - >=dev-python/python-bibtex-1.2.5[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - app-text/yelp-tools - >=sys-devel/gettext-0.19.8 -" - -# Tests broken for a long time, they rely on non-standard PATH for python -# modules, bug #678444 -RESTRICT="test" - -src_prepare() { - # Workaround for bug 487204. - sed -i \ - -e 's:\$(srcdir)/::g' \ - tests/Makefile.am || die "sed failed" - - # Install Python modules into site-packages directories. - find -name Makefile.am | xargs sed -i \ - -e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed" - sed -i -e 's:prefix=:cd @datapyb@ \&\& prefix=:' scripts/pybscript.in || die - sed -i -e "s:\@datapyb@:$(python_get_sitedir)/${PN}:g" pybliographer.in scripts/pybscript.in || die - sed -i \ - -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \ - Pyblio/GnomeUI/glade/Makefile.am || die "sed failed" - - gnome2_src_prepare -} - -src_configure() { - gnome2_src_configure \ - --disable-depchecks -} - -src_install() { - gnome2_src_install - python_fix_shebang "${D}" - dodir /usr/share/${PN} - mv "${D}/$(python_get_sitedir)/${PN}/pixmaps" "${ED}"/usr/share/${PN} || die -} diff --git a/app-office/pybliographer/pybliographer-1.4.0-r3.ebuild b/app-office/pybliographer/pybliographer-1.4.0-r3.ebuild new file mode 100644 index 000000000000..2d0fce300191 --- /dev/null +++ b/app-office/pybliographer/pybliographer-1.4.0-r3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_EAUTORECONF="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-single-r1 + +DESCRIPTION="Pybliographer is a tool for working with bibliographic databases" +HOMEPAGE="https://pybliographer.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=app-text/recode-3.6-r1 + app-text/rarian + dev-libs/glib:2 + $(python_gen_cond_dep ' + dev-python/gconf-python:2[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygtk-2.24.0:2[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-bibtex-1.2.5[${PYTHON_MULTI_USEDEP}] + ') +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=sys-devel/gettext-0.19.8 +" + +# Tests broken for a long time, they rely on non-standard PATH for python +# modules, bug #678444 +RESTRICT="test" + +src_prepare() { + # Workaround for bug 487204. + sed -i \ + -e 's:\$(srcdir)/::g' \ + tests/Makefile.am || die "sed failed" + + # Install Python modules into site-packages directories. + find -name Makefile.am | xargs sed -i \ + -e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed" + sed -i -e 's:prefix=:cd @datapyb@ \&\& prefix=:' scripts/pybscript.in || die + sed -i -e "s:\@datapyb@:$(python_get_sitedir)/${PN}:g" pybliographer.in scripts/pybscript.in || die + sed -i \ + -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \ + Pyblio/GnomeUI/glade/Makefile.am || die "sed failed" + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-depchecks +} + +src_install() { + gnome2_src_install + python_fix_shebang "${D}" + dodir /usr/share/${PN} + mv "${D}/$(python_get_sitedir)/${PN}/pixmaps" "${ED}"/usr/share/${PN} || die +} -- cgit v1.2.3