summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-01 03:14:01 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-01 03:14:01 +0000
commitba6778d245bb4d3db69e09f73a9d16f790108234 (patch)
tree78a2391b3bdc336f300b7bf024f2580b60ee1641 /app-text
parentSupport Python 2.6 (bug #282184). Set SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-ba6778d245bb4d3db69e09f73a9d16f790108234.tar.gz
historical-ba6778d245bb4d3db69e09f73a9d16f790108234.tar.bz2
historical-ba6778d245bb4d3db69e09f73a9d16f790108234.zip
0.6.14-r1 revbump. Install python modules in /usr/lib/calibre, including bundled modules, since that's how upstream wants it.
Package-Manager: portage-2.2_rc42_p14468/cvs/Linux i686
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/ChangeLog9
-rw-r--r--app-text/calibre/Manifest10
-rw-r--r--app-text/calibre/calibre-0.6.14-r1.ebuild (renamed from app-text/calibre/calibre-0.6.14.ebuild)33
3 files changed, 22 insertions, 30 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index 0a3058f76d32..2167f6edd7e3 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.48 2009/10/01 02:19:34 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.49 2009/10/01 03:14:01 zmedico Exp $
+
+*calibre-0.6.14-r1 (01 Oct 2009)
+
+ 01 Oct 2009; Zac Medico <zmedico@gentoo.org> -calibre-0.6.14.ebuild,
+ +calibre-0.6.14-r1.ebuild:
+ Install python modules in /usr/lib/calibre, including bundled modules,
+ since that's how upstream wants it.
*calibre-0.6.14 (01 Oct 2009)
diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest
index 5449ba83a8ba..77b5d17830c5 100644
--- a/app-text/calibre/Manifest
+++ b/app-text/calibre/Manifest
@@ -10,13 +10,13 @@ EBUILD calibre-0.4.77.ebuild 2282 RMD160 3d0daa0c5740299d302be542de93b42aba01a7b
EBUILD calibre-0.5.14-r1.ebuild 4260 RMD160 dc4d9465d99914e4336ba4b35cd8257435769f18 SHA1 438b4b4cc28a06a7f5bdbccc70862d6810c95904 SHA256 fcc6677b0a7047ce5f377d0cef1c8927e6c70dc87205542ab942f310f6bf8b4b
EBUILD calibre-0.6.10.ebuild 4074 RMD160 847f0f754cc948d1ee333d9a32cb308a75dd5e6a SHA1 5e3583fef0460be34784cd9e058dd8dbfaba6c85 SHA256 6ed00ab6f8bd026c88f36c25d417dbca9b8b247e560f1cc955c277861cc4a6af
EBUILD calibre-0.6.11.ebuild 4074 RMD160 c9951c75216bddc46887edddab6c93b444c8b06c SHA1 0fa086e34ec29fe3847838ff41d1674153af96ae SHA256 f65bb03f0a5ffa3d6b896083e69f9805c3d290c0a04b8c5ff46a38b17c1ecc6b
-EBUILD calibre-0.6.14.ebuild 3950 RMD160 9bb207202fa222d89acd4dfdc75daee7b0321098 SHA1 05fee285e0b643ef2e47cde047f6ba476f5514a3 SHA256 695679223c3b218336287588ebb3befa8a897a385de82557c20784a51d1a4995
-MISC ChangeLog 7982 RMD160 9701d4ebe568d4c12db33cb75e8f896d65665137 SHA1 0097fb9e8a2ec28de907ff1aec9f7795b60de580 SHA256 ab64835b56667be0ac445103ab8d45b79545e18dac7e168982a0829df808153d
+EBUILD calibre-0.6.14-r1.ebuild 3265 RMD160 0fe56c4c46a1a81eede80a8442519562ac6fb3c8 SHA1 0512322cd0d1a0963d1fd28465c0ba8f6d6958b0 SHA256 27d6ba12047f0487916b4bfcffdaeedbb6143fde9b0b4f3525d462042475831f
+MISC ChangeLog 8228 RMD160 ea5a713fc32cc6b9ab3d97a8317a4c8296fed007 SHA1 1358f6b14fb7ef30b9bf9de5dbbfd575d13d9443 SHA256 799679de3c30de99cc72f468fd6dd83fa3756416d15d8f7e245c4c8361998ca6
MISC metadata.xml 231 RMD160 d960211907e25a59573b7be5bb36be9b47bd4c3c SHA1 197ba481e4ddb1dd2776f589fe7339d5f0f9868f SHA256 c97fff2a7f866fcaaa116ae2b946a9422dca2d6b04c702097b02e175d0a07572
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkrEEcQACgkQ/ejvha5XGaOH2gCgrEe9BDdakvySSU+duiYs6udY
-HdEAoNWSjbA/byS4ZGr6QnnVQLyll19S
-=4pEQ
+iEYEARECAAYFAkrEHocACgkQ/ejvha5XGaMOzACg5+M+JRQCUqVxDWONRV/AkVNB
+AkoAn2sdigd1EbjS0KXVaZMlyr4jSisr
+=Homi
-----END PGP SIGNATURE-----
diff --git a/app-text/calibre/calibre-0.6.14.ebuild b/app-text/calibre/calibre-0.6.14-r1.ebuild
index 7cb7dec5ff47..0e87e0c2f17e 100644
--- a/app-text/calibre/calibre-0.6.14.ebuild
+++ b/app-text/calibre/calibre-0.6.14-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.6.14.ebuild,v 1.1 2009/10/01 02:19:34 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.6.14-r1.ebuild,v 1.1 2009/10/01 03:14:01 zmedico Exp $
EAPI=2
NEED_PYTHON=2.6
@@ -34,11 +34,7 @@ SHARED_DEPEND=">=dev-lang/python-2.6[sqlite]
>=dev-python/beautifulsoup-3.0.5
>=dev-python/dnspython-1.6.0
>=sys-apps/help2man-1.36.4
- >=dev-python/pyPdf-1.12
- || ( app-text/podofo >=app-text/pdftk-1.12 )
- >=dev-python/cherrypy-3.0.2-r1
- >=dev-python/cssutils-0.9.6_alpha4
- >=dev-python/odfpy-0.7"
+ || ( app-text/podofo >=app-text/pdftk-1.12 )"
RDEPEND="$SHARED_DEPEND
>=dev-python/reportlab-2.1"
@@ -70,10 +66,14 @@ src_install() {
grep -rlZ "${D}" "${D}" | xargs -0 sed -e "s:${D}:/:g" -i ||
die "failed to fix harcoded \$D in paths"
- sed -e "s:/usr/lib/calibre:$(python_get_sitedir):g" -i "${D}bin/"* ||
- die "Failed to fix hardcoded /usr/lib/calibre paths"
- # This code should fail once --bindir and --sharedir are fixed.
+ # This code may fail if behavior of --root, --bindir or
+ # --sharedir changes in the future.
+ dodir /usr/lib
+ mv "${D}lib/calibre" "${D}usr/lib/" ||
+ die "failed to move lib dir"
+ find "${D}"lib -type d -empty -delete
+
dodir /usr/bin
mv "${D}bin/"* "${D}usr/bin/" ||
die "failed to move bin dir"
@@ -84,10 +84,6 @@ src_install() {
die "failed to move share dir"
find "${D}"share -type d -empty -delete
- dodir $(python_get_sitedir)
- mv "${D}lib/calibre/"* "${D}$(python_get_sitedir)"/ ||
- die "failed to move python modules"
-
# The menu entries end up here due to '--mode user' being added to
# xdg-* options in src_prepare.
dodir /usr/share/mime/packages
@@ -102,17 +98,6 @@ src_install() {
dobashcompletion "$D"etc/bash_completion.d/calibre
rm -r "${D}"etc/bash_completion.d
find "${D}"etc -type d -empty -delete
-
- # Removing junk.
- # Bundled python modules: Module | Package
- # ----------------------------
- # cherrypy | cherrypy
- # cssutils | cssutils
- # encutils | cssutils
- # odf | odfpy
- # pyPdf | pyPdf
- rm -r "${D}$(python_get_sitedir)/"{cherrypy,cssutils,encutils,odf,pyPdf}
-
}
pkg_postinst() {