diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-12-02 21:15:15 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-12-02 21:15:15 +0000 |
commit | 895fb8d8e442a62359ec2ad1e315e38cefd0e5e9 (patch) | |
tree | cd2b55d35894a680a27cc917eb3cdf67f425c4ed /app-misc/gramps | |
parent | arm stable, bug #530508 (diff) | |
download | historical-895fb8d8e442a62359ec2ad1e315e38cefd0e5e9.tar.gz historical-895fb8d8e442a62359ec2ad1e315e38cefd0e5e9.tar.bz2 historical-895fb8d8e442a62359ec2ad1e315e38cefd0e5e9.zip |
Port to new python eclasses
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-misc/gramps')
-rw-r--r-- | app-misc/gramps/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/gramps/Manifest | 11 | ||||
-rw-r--r-- | app-misc/gramps/gramps-3.4.5-r1.ebuild | 76 |
3 files changed, 89 insertions, 7 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog index 3ae5cc6150ff..7f52a92ef364 100644 --- a/app-misc/gramps/ChangeLog +++ b/app-misc/gramps/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/gramps -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.166 2013/05/22 21:44:09 fauli Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.167 2014/12/02 21:15:14 pacho Exp $ + +*gramps-3.4.5-r1 (02 Dec 2014) + + 02 Dec 2014; Pacho Ramos <pacho@gentoo.org> +gramps-3.4.5-r1.ebuild: + Port to new python eclasses *gramps-3.4.5 (22 May 2013) diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest index 6c4cf73228b9..24ba51b1d432 100644 --- a/app-misc/gramps/Manifest +++ b/app-misc/gramps/Manifest @@ -7,13 +7,14 @@ DIST gramps-3.4.4.tar.gz 10613997 SHA256 b4a44cc23357b59bcf945fd76d4d4de5a75bbdb DIST gramps-3.4.5.tar.gz 10444188 SHA256 940b665a2e0dadf7ee310bdd1a1033c20816c856df8a7d6c4e0850a60471dbc7 SHA512 c9b517f58712d9f585dbddcb394d3605a5f823950a8c3c5a4ffd20d1a8523d6b75f9b6193271adabe76edc073dd6b4c20811de62582a2930b84d88922b4e52b3 WHIRLPOOL 4e30108881900883a4cb3c3ee4c9ef78e04d0850c3dbdaf97569f44cdfb2e56463f3f156f041b4dec6650c722f12cc0909689edc9591c97c5b02b1705860c228 EBUILD gramps-3.4.3.ebuild 2217 SHA256 dd125b9e9089b55d52e769f08ab557b53242dec5f26eb78066e54761b34da845 SHA512 4d53d25dabbc64bf3b00bc6e395685a9d5644215079dd3bae0ef4ad75ff38ab55f915d80b11a25caeee649f27949077ce9ac63c078d2d1810d54c13dd1bf3be5 WHIRLPOOL 58865668276bc6fea7a4001664d910458220fbdd949594f66138ba4aa1511a5a7ffa3ed4808851914a6e7d1578c3ab5136a90cb826b1a95dd5fdcc4ab5cf1511 EBUILD gramps-3.4.4.ebuild 2222 SHA256 16679c90f6f700162d7c4debff87b4a4349d042b75c267d4c4c0d99620415826 SHA512 ed0b9e771a6110f9b52d05bc76a1424da7309b9ddebe1c54b5d6fdd8d873875aca5213dc229d833c8d05a11fd31744bf199759f9f8a4a70ca5b3a20b5daafdab WHIRLPOOL 5fc8149639389f60082200eda876ae37e3ee9b9ba539093fd6ca812c1cbdd152766840716b2565f077f459eae2d996929cc9a52483882936983658d98080b04d +EBUILD gramps-3.4.5-r1.ebuild 2087 SHA256 dbb1548b14f058a73237b3fc26dce2e7531d79fd6c5cbc5148a63f2e2566aa9e SHA512 4bf28cdc508b0d059aee3bd6afb2546cd7681decf835ee2534b3e194c1401cb9ea811f3307420d5dda969172774b4015fd10b937f426086aa6524de0f9ac0dbb WHIRLPOOL 77d2ed11977c9a15e0c60045372db9a71f2f1fab1feba9ceea85bb811d43b02d88da52236cf52bc2f98b630d709bfc6b39819aaccf72aacfda4ca81bfc5a55f7 EBUILD gramps-3.4.5.ebuild 2222 SHA256 ce3a60a3e3b7019e308331b052a6581279510b379cc8ec906944aa74a586df47 SHA512 9d130adbf35fd695b0c53c41162870097a2206b7a2cc2bed20420afe5325fb1efc707ee0b3efbf64eb170ed623672928e323229685e65048d260bea17f79e6aa WHIRLPOOL 969a4dc74613db6b20d8e1b53965b29fe533c222e3406bbb9bbf5094947b26591b931e1fd10893ef2b245dccaf4bedc90b2f1fe039e5ea6b3febc2c85c90fa8d -MISC ChangeLog 23729 SHA256 3e3056ec8d8234eeb26ab1d5793e824e0aa75f75db7ad8e08d1c7eb9173c0faa SHA512 9cab24d302a17d896a4aab73dd8202c05c0229118427f29b17fa858cf747cefb925c5c706fa0d3212c273fed6a6c4914692564a3fe32624584cb0e6aea0027ae WHIRLPOOL 8182c56c51b916f818397a539f30fb2379aca926a6703c3f3f3178cae7094aba40076eed3dd7f32d97d45ea2f7eb962c4d560ca36eb7dae4dc6171c688c12eec +MISC ChangeLog 23863 SHA256 80295cc11c4ba55b7c121f5fae713e5c12b4c18b8a47cb538e0092e38542d3ce SHA512 54af9481c5796ea844da2b5093efc3589d90edda2d99806c781e059847e051208cd333c879c58d75b8b034db44a28c4d446eccf25137a759fef508390fea8da0 WHIRLPOOL 77c5d7ad70e957036f8b2f9354dbb0bf5c49758031381e640f7bb473c9f4f3c68f653c0ec0c18f1302f9c6aad6efd1ab7a6c8351a069aac819f33744ac88a16b MISC metadata.xml 5192 SHA256 c402d3f7be6f89296b26d29b4f9e3c1ca93f306d8afb53da391b99a0122e8cd0 SHA512 960c4c0313ad3756b6e865db19477f5c00bfa50f31232f0dea4bfa57ca7f22b2e6e134d3ff939aaad14f5e700a0b35ab7668acf5ffe3333e4aefecfa38e23c74 WHIRLPOOL 15e2fafc62e11317016ef7d1c29fb7118e16aa7bea3bf6d70cf5f80b1fb54148f916ac989bf304f90d7d54461f25bca80a6c32cef7f0a0446359005499e7ae2d -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2 -iEYEAREIAAYFAlGdPDAACgkQNQqtfCuFneMkRACeP7Jr4oXVr+U2VrLm+WHHH4DK -1OgAn3Yp1DeWw4K5Wic6250baR4mmUuO -=QGet +iEYEAREIAAYFAlR+K+MACgkQCaWpQKGI+9RL2ACggg0y48SJtHiIXSHLJYi9QlGH +Ov4An0bD5rjFM+iiLxUBCIxMJmZA4L5I +=gcmK -----END PGP SIGNATURE----- diff --git a/app-misc/gramps/gramps-3.4.5-r1.ebuild b/app-misc/gramps/gramps-3.4.5-r1.ebuild new file mode 100644 index 000000000000..e1db1d551f75 --- /dev/null +++ b/app-misc/gramps/gramps-3.4.5-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.4.5-r1.ebuild,v 1.1 2014/12/02 21:15:14 pacho Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +GCONF_DEBUG="no" + +inherit eutils gnome2 python-single-r1 + +DESCRIPTION="Genealogical Research and Analysis Management Programming System" +HOMEPAGE="http://www.gramps-project.org/" +SRC_URI="mirror://sourceforge/gramps/Stable/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="gnome reports spell webkit" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/bsddb3[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.16.0[${PYTHON_USEDEP}] + dev-python/pygoocanvas[${PYTHON_USEDEP}] + x11-misc/xdg-utils + gnome-base/librsvg:2 + gnome? ( + dev-python/libgnome-python[${PYTHON_USEDEP}] + dev-python/gconf-python[${PYTHON_USEDEP}] ) + spell? ( dev-python/gtkspell-python[${PYTHON_USEDEP}] ) + reports? ( media-gfx/graphviz ) + webkit? ( dev-python/pywebkitgtk[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/libiconv + virtual/pkgconfig +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-3.4.0-use_bsddb3.patch" + + # Fix install path, bug 423315 for example + einfo "Fix installation path" + find . -iname 'Makefile.in' | xargs \ + sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \ + || die + find . -iname 'Makefile.in' | xargs \ + sed "s;\(pkgpythondir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \ + || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/Makefile.in || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/docgen/Makefile.in || die + + einfo "Fix wrapper script" + sed "s;@datadir@;$(python_get_sitedir);" \ + -i gramps.sh.in || die + + einfo "Fix icon location" + sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die + + python_fix_shebang . + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-mime-install \ + PYTHON="${EROOT}"/usr/bin/python2 +} |