summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-11-13 11:43:29 +0000
committerZac Medico <zmedico@gentoo.org>2009-11-13 11:43:29 +0000
commit9e949e508b0daceb1fc0bc0b14bfea53a2be74a2 (patch)
treed20e6ea6f87a9afa3cc96b3b865ec2408bad0908 /app-text
parentVersion bump via perl-bump experimental tool. (diff)
downloadhistorical-9e949e508b0daceb1fc0bc0b14bfea53a2be74a2.tar.gz
historical-9e949e508b0daceb1fc0bc0b14bfea53a2be74a2.tar.bz2
historical-9e949e508b0daceb1fc0bc0b14bfea53a2be74a2.zip
Remove old versions.
Package-Manager: portage-2.2_rc49_p14820/cvs/Linux i686
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/ChangeLog6
-rw-r--r--app-text/calibre/Manifest18
-rw-r--r--app-text/calibre/calibre-0.6.10.ebuild125
-rw-r--r--app-text/calibre/calibre-0.6.16-r1.ebuild132
-rw-r--r--app-text/calibre/calibre-0.6.17.ebuild133
-rw-r--r--app-text/calibre/calibre-0.6.19.ebuild133
6 files changed, 10 insertions, 537 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index f0a485a4ccba..c3a64e62b915 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,10 @@
# 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.57 2009/10/31 05:09:47 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.58 2009/11/13 11:43:29 zmedico Exp $
+
+ 13 Nov 2009; Zac Medico <zmedico@gentoo.org> -calibre-0.6.10.ebuild,
+ -calibre-0.6.16-r1.ebuild, -calibre-0.6.17.ebuild, -calibre-0.6.19.ebuild:
+ Remove old versions.
*calibre-0.6.20 (31 Oct 2009)
diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest
index 4b336864c28f..5dd3d801d23b 100644
--- a/app-text/calibre/Manifest
+++ b/app-text/calibre/Manifest
@@ -3,26 +3,18 @@ Hash: SHA1
DIST calibre-0.4.77.tar.bz2 4054837 RMD160 24c64276b2413ac8e0974f8f0caa535e8635df3c SHA1 30e39484987a606fb875c6b4afa8785fed0aa4b3 SHA256 4075d8d20713d2e5e299bc3ff51fd541474dff8576c9a6d12f4159c094d73dab
DIST calibre-0.5.14.tar.gz 7693491 RMD160 175e473e74e036ad245db35a08e700e92d8c718d SHA1 f3241ce95fb590873427d9a9c0881f336b995aef SHA256 71caa8e0540879b851afc5b10a588279b559ee24f2f7375c10737eafd0b2f24e
-DIST calibre-0.6.10.tar.gz 8732208 RMD160 fba70f63e0adb8a9b54be15a1a9426aebd16113a SHA1 2ca0bfbec0c6af204b1771606a4ff2e8734d4e18 SHA256 737c60a5ef3fe0a7d99d8925621863c9fe50ea562d949537031b720fbf4c3627
DIST calibre-0.6.11.tar.gz 8771885 RMD160 6cc9155560915a3d74314294514a6a97b077cdb9 SHA1 1068e8935318201fc0de7e52a72317c825e7817f SHA256 de71128ea76f468e56201d9940e550b61fe2691d96f1943f1905870d32907b8a
-DIST calibre-0.6.16.tar.gz 10407623 RMD160 de9f0505c67c857eb46ee3d1cd2b22de59118dee SHA1 cf547413f396e938dc608a9044d674a3566c614b SHA256 e7980051237c49c059d392e3858247762d2a655ba579204c4cd38f76aee54644
-DIST calibre-0.6.17.tar.gz 10514520 RMD160 8c909fdb9bac7335c9f61cfd81f8540fc319dc7e SHA1 7ebfa4e5ddce1445377ef8074ed00bebc377e952 SHA256 696215c12c228c3c399f6fcf483dad4c4d73c2355cb79b673e580d2abc5a3712
-DIST calibre-0.6.19.tar.gz 10472722 RMD160 6439bbae71e032b55953f754964a54bf93110659 SHA1 8ad8deaa6855a6f3e1246f6b1c91c55ad2bcd3f6 SHA256 919fd116d4bdf0daf7d7f70e81159f067466bcb3770b0fb78fd8f76daa339e57
DIST calibre-0.6.20.tar.gz 10769762 RMD160 dcbd6805fa8f84653d7b87e9dc5c717db53924b9 SHA1 dafdf78ae2bceb5e3f7f2690d855c79e07cf55c3 SHA256 e95c0511a159ea217bf9593cf87e06a961f23c43980e79ef53ad6b3820a9d244
EBUILD calibre-0.4.77.ebuild 2282 RMD160 3d0daa0c5740299d302be542de93b42aba01a7b5 SHA1 609941ba89bf2274b2ad776c316140563d0c7366 SHA256 76479992561158d6d7eaa7ebe117b430b8836bbe774f84ab58a7ce037b4604e3
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.16-r1.ebuild 4058 RMD160 de2c737de1d42978f7629d15eae84e86cc8c2fe9 SHA1 c00f42cdf24f99d38b2fb26dd694eab006441ad1 SHA256 2df605da145d5d39ceea8d41452efcf5a72f531b34c7dde142e685b47e7dc346
-EBUILD calibre-0.6.17.ebuild 4098 RMD160 37f64272c64a95f803a1516224bbcda0d592e073 SHA1 bb36a2fe3af1931cf7241561c846b63fb13b73ed SHA256 3b4b6af07c93bf81fa043bef5bc03a69f8c437d7ea5cca0985160d7c7131c4bd
-EBUILD calibre-0.6.19.ebuild 4098 RMD160 35cb9b81123dd42be87df2a23a3c95c55d22ac68 SHA1 250d211441cd8f9b40e20abf71fb96ec008f1cd7 SHA256 7307e6669a8583b6cd450e79d2e179ca831f5291b0d6d62ebd39c27c47634ed5
EBUILD calibre-0.6.20.ebuild 4098 RMD160 a5b2b13b50722f26bf425f6d705c409323b1a9f7 SHA1 e87e49f2084bf27ecdad1ad1e7b3518398a55a91 SHA256 9979d1af0e1541fc2c691c146e33ea713c4bc638141e61efb2d183ec80a529ce
-MISC ChangeLog 9431 RMD160 42db20e52bfc5fda4096eac7316f37b328a53e54 SHA1 347d793d0951c840749c9f327f0d6e6a4908a409 SHA256 dc7c79c6d2dbbacd906a30fe7d1646ba177c08393715fb1e8370aac16592a37c
+MISC ChangeLog 9603 RMD160 62e3e16a8baf9a5c8759018ffeb5e37fa55e057f SHA1 77db9c1e7f3b0f4ccbebdf950fd6c62ba3bd94bc SHA256 977e5c13d1a7d2599f72dfbe7272edadf5efd0ca772cc1286a61207e2f961023
MISC metadata.xml 231 RMD160 d960211907e25a59573b7be5bb36be9b47bd4c3c SHA1 197ba481e4ddb1dd2776f589fe7339d5f0f9868f SHA256 c97fff2a7f866fcaaa116ae2b946a9422dca2d6b04c702097b02e175d0a07572
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkrrxtgACgkQ/ejvha5XGaNDagCgjcqj9A0Vxv90fBpHdFB3D5w1
-Jw4AnifHqBPCxxWySveLRMV3wHHOtTSi
-=0lXL
+iEYEARECAAYFAkr9RnIACgkQ/ejvha5XGaNexwCffWFbxSejfkClFipxbrNs5In4
+ZuIAn37uaUgCehjuxmwCoL47D8t0W7dt
+=wJsb
-----END PGP SIGNATURE-----
diff --git a/app-text/calibre/calibre-0.6.10.ebuild b/app-text/calibre/calibre-0.6.10.ebuild
deleted file mode 100644
index 3b23a1cff76e..000000000000
--- a/app-text/calibre/calibre-0.6.10.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# 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.10.ebuild,v 1.1 2009/09/03 08:07:52 zmedico Exp $
-
-EAPI=2
-NEED_PYTHON=2.6
-
-inherit python distutils eutils fdo-mime bash-completion
-
-DESCRIPTION="Ebook management application."
-HOMEPAGE="http://calibre.kovidgoyal.net"
-SRC_URI="http://calibre.kovidgoyal.net/downloads/$P.tar.gz"
-
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-
-SLOT="0"
-
-IUSE=""
-
-# libusb-compat is untested
-SHARED_DEPEND=">=dev-lang/python-2.6[sqlite]
- >=dev-python/setuptools-0.6_rc5
- >=dev-python/imaging-1.1.6
- dev-libs/libusb:0
- >=dev-python/PyQt4-4.5[X,svg,webkit]
- >=dev-python/mechanize-0.1.11
- >=media-gfx/imagemagick-6.3.5
- >=x11-misc/xdg-utils-1.0.2
- >=dev-python/dbus-python-0.82.2
- >=dev-python/lxml-2.1.5
- >=dev-python/python-dateutil-1.4.1
- >=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"
-
-RDEPEND="$SHARED_DEPEND
- >=dev-python/reportlab-2.1"
-
-DEPEND="$SHARED_DEPEND
- dev-python/setuptools
- >=gnome-base/librsvg-2.0.0
- >=x11-misc/xdg-utils-1.0.2-r2
- sys-apps/help2man"
-
-src_prepare() {
- # Removing the post_install call. We'll do that stuff in src_install.
- sed -i -e "/if 'install'/,/subprocess.check_call/d" \
- setup.py || die "couldn't remove post_install call"
- # For help2man to succeed, we need to tell it the path to the tools.
- sed -i -e "s:\('help2man',\) \(prog\):\1 \'PYTHONPATH=\"${D}$(python_get_sitedir)\" \' + \'${D}usr/bin/\' + \2:" \
- src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
- # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
- # calls xdg-desktop-menu (bug #258938). This also prevents
- # "${D}"/usr/share/applications/{mimeinfo.cache,defaults.list}
- # from being installed (we don't want them anyway).
- sed -i -e "s:xdg-desktop-menu install:xdg-desktop-menu install --mode user:" \
- src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
- distutils_src_prepare
-}
-
-src_install() {
- pushd "${S}"/build
- ln -s lib\.* lib
- popd
- distutils_src_install
-
- # Create directory before running the postinst script
- # otherwise it will bail out.
- dodir /usr/share/icons/hicolor
- dodir /etc/xdg/menus
- dodir /usr/share/applications
- dodir /usr/share/desktop-directories
- dodir /usr/share/applnk
- dodir /usr/share/mime/packages
-
- # Bypass the default kde-config output, and force it to
- # tell xdg-mime to use a different path.
- cat - > "${T}/kde-config" <<EOF
-#!/bin/bash
-
-case \$1:\$2 in
- --version:) echo -e "Qt: 3.3.8\nKDE: 3.5.8\nkde-config: 1.0" ;;
- --path:mime) echo "${D}/usr/share/mimelnk/" ;;
-esac
-EOF
-
- chmod +x "${T}/kde-config"
-
- PATH="${T}:${PATH}" KDEDIRS="${D}/usr" XDG_DATA_DIRS="${D}/usr/share" DESTDIR="${D}" PYTHONPATH="${S}/build/lib" \
- python "${S}"/src/${PN}/linux.py \
- --use-destdir --do-not-reload-udev-hal \
- --group-file="${ROOT}"/etc/group --dont-check-root \
- || die "post-installation failed."
-
- # The menu entries end up here due to '--mode user' being added to
- # xdg-desktop-menu options in src_prepare.
- domenu "$HOME"/.local/share/applications/*.desktop || \
- die "failed to install .desktop menu files"
-
- dobashcompletion "$D"usr/share/bash-completion/calibre
- find "${D}"/etc -type d -empty -delete
-
- # Removing junk.
- # Bundled python modules: Module | Package
- # ----------------------------
- # encutils | cssutils
- # odf | odfpy
- rm -r "${D}"/usr/share/mime/{subclasses,XMLnamespaces,globs{,2},mime.cache,magic,aliases,types,treemagic,{generic-,}icons} \
- "${D}"/usr/share/{applnk,desktop-directories} \
- "${D}$(python_get_sitedir)"/{cherrypy,cssutils,encutils,odf,pyPdf}
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- distutils_pkg_postinst
- bash-completion_pkg_postinst
-}
diff --git a/app-text/calibre/calibre-0.6.16-r1.ebuild b/app-text/calibre/calibre-0.6.16-r1.ebuild
deleted file mode 100644
index 8e0d82f81e92..000000000000
--- a/app-text/calibre/calibre-0.6.16-r1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# 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.16-r1.ebuild,v 1.4 2009/10/07 22:47:20 zmedico Exp $
-
-EAPI=2
-NEED_PYTHON=2.6
-
-inherit python distutils eutils fdo-mime bash-completion
-
-DESCRIPTION="Ebook management application."
-HOMEPAGE="http://calibre.kovidgoyal.net"
-SRC_URI="http://calibre.kovidgoyal.net/downloads/$P.tar.gz"
-
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-
-SLOT="0"
-
-IUSE=""
-
-# libusb-compat is untested
-SHARED_DEPEND=">=dev-lang/python-2.6[sqlite]
- >=dev-python/setuptools-0.6_rc5
- >=dev-python/imaging-1.1.6
- >=dev-libs/libusb-0.1.12:0
- >=dev-python/PyQt4-4.5[X,svg,webkit]
- >=dev-python/mechanize-0.1.11
- >=media-gfx/imagemagick-6.3.5
- >=x11-misc/xdg-utils-1.0.2
- >=dev-python/dbus-python-0.82.2
- >=dev-python/lxml-2.1.5
- >=dev-python/python-dateutil-1.4.1
- >=dev-python/beautifulsoup-3.0.5
- >=dev-python/dnspython-1.6.0
- >=virtual/poppler-0.12.0
- >=sys-apps/help2man-1.36.4
- app-text/podofo"
-
-RDEPEND="$SHARED_DEPEND
- >=dev-python/reportlab-2.1"
-
-DEPEND="$SHARED_DEPEND
- dev-python/setuptools
- >=gnome-base/librsvg-2.0.0
- >=x11-misc/xdg-utils-1.0.2-r2
- sys-apps/help2man"
-
-S=$WORKDIR/$PN
-
-src_prepare() {
- # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
- # calls xdg-* (bug #258938).
- sed -e "s:'xdg-desktop-menu', 'install':'xdg-desktop-menu', 'install', '--mode', 'user':" \
- -e "s:xdg-icon-resource install:xdg-icon-resource install --mode user:" \
- -e "s:xdg-mime install:xdg-mime install --mode user:" \
- -e "s:old_udev = '/etc:old_udev = '${D}etc:" \
- -i src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
-
- # Disable unnecessary privilege dropping for bug #287067.
- sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
- -i setup/install.py || die "sed'ing in the IMAGE path failed"
-
- distutils_src_prepare
-}
-
-src_install() {
-
- # Bypass kbuildsycoca and update-mime-database in order to
- # avoid sandbox violations if xdg-mime tries to call them.
- cat - > "${T}/kbuildsycoca" <<-EOF
- #!$BASH
- exit 0
- EOF
-
- cp "${T}"/{kbuildsycoca,update-mime-database}
- chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
- # --bindir and --sharedir don't seem to work.
- # Pass them in anyway so we'll know when they are fixed.
- # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
- # violation with kbuildsycoca as in bug #287067, comment #13.
- export -n DISPLAY
- PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
- distutils_src_install --bindir="${D}usr/bin" --sharedir="${D}usr/share"
-
- grep -rlZ "${D}" "${D}" | xargs -0 sed -e "s:${D}:/:g" -i ||
- die "failed to fix harcoded \$D in paths"
-
- # Python modules are no longer installed in
- # site-packages, so remove empty dirs.
- find "${D}$(python_get_libdir)" -type d -empty -delete
-
- # 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"
- find "${D}"bin -type d -empty -delete
-
- dodir /usr/share
- mv "${D}share/"* "${D}usr/share/" ||
- die "failed to move share dir"
- find "${D}"share -type d -empty -delete
-
- # The menu entries end up here due to '--mode user' being added to
- # xdg-* options in src_prepare.
- dodir /usr/share/mime/packages
- mv "$HOME"/.local/share/mime/packages/* "$D"usr/share/mime/packages/ ||
- die "failed to register mime types"
- dodir /usr/share/icons
- mv "$HOME"/.local/share/icons/* "$D"usr/share/icons/ ||
- die "failed to install icon files"
- domenu "$HOME"/.local/share/applications/*.desktop ||
- die "failed to install .desktop menu files"
-
- dobashcompletion "$D"etc/bash_completion.d/calibre
- rm -r "${D}"etc/bash_completion.d
- find "${D}"etc -type d -empty -delete
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- distutils_pkg_postinst
- bash-completion_pkg_postinst
-}
diff --git a/app-text/calibre/calibre-0.6.17.ebuild b/app-text/calibre/calibre-0.6.17.ebuild
deleted file mode 100644
index 361ee941ffea..000000000000
--- a/app-text/calibre/calibre-0.6.17.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# 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.17.ebuild,v 1.1 2009/10/14 05:49:11 zmedico Exp $
-
-EAPI=2
-NEED_PYTHON=2.6
-
-inherit python distutils eutils fdo-mime bash-completion
-
-DESCRIPTION="Ebook management application."
-HOMEPAGE="http://calibre.kovidgoyal.net"
-SRC_URI="http://calibre.kovidgoyal.net/downloads/$P.tar.gz"
-
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-
-SLOT="0"
-
-IUSE=""
-
-# libusb-compat is untested
-SHARED_DEPEND=">=dev-lang/python-2.6[sqlite]
- >=dev-python/setuptools-0.6_rc5
- >=dev-python/imaging-1.1.6
- >=dev-libs/libusb-0.1.12:0
- >=dev-python/PyQt4-4.5[X,svg,webkit]
- >=dev-python/mechanize-0.1.11
- >=media-gfx/imagemagick-6.3.5
- >=x11-misc/xdg-utils-1.0.2
- >=dev-python/dbus-python-0.82.2
- >=dev-python/lxml-2.1.5
- >=dev-python/python-dateutil-1.4.1
- >=dev-python/beautifulsoup-3.0.5
- >=dev-python/dnspython-1.6.0
- >=virtual/poppler-0.12.0
- >=sys-apps/help2man-1.36.4
- app-text/podofo"
-
-RDEPEND="$SHARED_DEPEND
- >=dev-python/reportlab-2.1"
-
-DEPEND="$SHARED_DEPEND
- dev-python/setuptools
- >=gnome-base/librsvg-2.0.0
- >=x11-misc/xdg-utils-1.0.2-r2
- sys-apps/help2man"
-
-S=$WORKDIR/$PN
-
-src_prepare() {
- # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
- # calls xdg-* (bug #258938).
- sed -e "s:'xdg-desktop-menu', 'install':'xdg-desktop-menu', 'install', '--mode', 'user':" \
- -e "s:xdg-icon-resource install:xdg-icon-resource install --mode user:" \
- -e "s:xdg-mime install:xdg-mime install --mode user:" \
- -e "s:old_udev = '/etc:old_udev = '${D}etc:" \
- -i src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
-
- # Disable unnecessary privilege dropping for bug #287067.
- sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
- -i setup/install.py || die "sed'ing in the IMAGE path failed"
-
- distutils_src_prepare
-}
-
-src_install() {
-
- # Bypass kbuildsycoca and update-mime-database in order to
- # avoid sandbox violations if xdg-mime tries to call them.
- cat - > "${T}/kbuildsycoca" <<-EOF
- #!$BASH
- exit 0
- EOF
-
- cp "${T}"/{kbuildsycoca,update-mime-database}
- chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
- # --bindir and --sharedir don't seem to work.
- # Pass them in anyway so we'll know when they are fixed.
- # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
- # violation with kbuildsycoca as in bug #287067, comment #13.
- export -n DISPLAY
- PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
- distutils_src_install --bindir="${D}usr/bin" --sharedir="${D}usr/share"
-
- grep -rlZ "${D}" "${D}" | xargs -0 sed -e "s:${D}:/:g" -i ||
- die "failed to fix harcoded \$D in paths"
-
- # Python modules are no longer installed in
- # site-packages, so remove empty dirs.
- find "${D}$(python_get_libdir)" -type d -empty -delete
-
- # 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"
- find "${D}"bin -type d -empty -delete
-
- dodir /usr/share
- mv "${D}share/"* "${D}usr/share/" ||
- die "failed to move share dir"
- find "${D}"share -type d -empty -delete
-
- # The menu entries end up here due to '--mode user' being added to
- # xdg-* options in src_prepare.
- dodir /usr/share/mime/packages
- chmod -fR a+rX,u+w,g-w,o-w "$HOME"/.local
- mv "$HOME"/.local/share/mime/packages/* "$D"usr/share/mime/packages/ ||
- die "failed to register mime types"
- dodir /usr/share/icons
- mv "$HOME"/.local/share/icons/* "$D"usr/share/icons/ ||
- die "failed to install icon files"
- domenu "$HOME"/.local/share/applications/*.desktop ||
- die "failed to install .desktop menu files"
-
- dobashcompletion "$D"etc/bash_completion.d/calibre
- rm -r "${D}"etc/bash_completion.d
- find "${D}"etc -type d -empty -delete
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- distutils_pkg_postinst
- bash-completion_pkg_postinst
-}
diff --git a/app-text/calibre/calibre-0.6.19.ebuild b/app-text/calibre/calibre-0.6.19.ebuild
deleted file mode 100644
index 0c540769a3de..000000000000
--- a/app-text/calibre/calibre-0.6.19.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# 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.19.ebuild,v 1.1 2009/10/23 03:04:31 zmedico Exp $
-
-EAPI=2
-NEED_PYTHON=2.6
-
-inherit python distutils eutils fdo-mime bash-completion
-
-DESCRIPTION="Ebook management application."
-HOMEPAGE="http://calibre.kovidgoyal.net"
-SRC_URI="http://calibre.kovidgoyal.net/downloads/$P.tar.gz"
-
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-
-SLOT="0"
-
-IUSE=""
-
-# libusb-compat is untested
-SHARED_DEPEND=">=dev-lang/python-2.6[sqlite]
- >=dev-python/setuptools-0.6_rc5
- >=dev-python/imaging-1.1.6
- >=dev-libs/libusb-0.1.12:0
- >=dev-python/PyQt4-4.5[X,svg,webkit]
- >=dev-python/mechanize-0.1.11
- >=media-gfx/imagemagick-6.3.5
- >=x11-misc/xdg-utils-1.0.2
- >=dev-python/dbus-python-0.82.2
- >=dev-python/lxml-2.1.5
- >=dev-python/python-dateutil-1.4.1
- >=dev-python/beautifulsoup-3.0.5
- >=dev-python/dnspython-1.6.0
- >=virtual/poppler-0.12.0
- >=sys-apps/help2man-1.36.4
- app-text/podofo"
-
-RDEPEND="$SHARED_DEPEND
- >=dev-python/reportlab-2.1"
-
-DEPEND="$SHARED_DEPEND
- dev-python/setuptools
- >=gnome-base/librsvg-2.0.0
- >=x11-misc/xdg-utils-1.0.2-r2
- sys-apps/help2man"
-
-S=$WORKDIR/$PN
-
-src_prepare() {
- # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
- # calls xdg-* (bug #258938).
- sed -e "s:'xdg-desktop-menu', 'install':'xdg-desktop-menu', 'install', '--mode', 'user':" \
- -e "s:xdg-icon-resource install:xdg-icon-resource install --mode user:" \
- -e "s:xdg-mime install:xdg-mime install --mode user:" \
- -e "s:old_udev = '/etc:old_udev = '${D}etc:" \
- -i src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
-
- # Disable unnecessary privilege dropping for bug #287067.
- sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
- -i setup/install.py || die "sed'ing in the IMAGE path failed"
-
- distutils_src_prepare
-}
-
-src_install() {
-
- # Bypass kbuildsycoca and update-mime-database in order to
- # avoid sandbox violations if xdg-mime tries to call them.
- cat - > "${T}/kbuildsycoca" <<-EOF
- #!$BASH
- exit 0
- EOF
-
- cp "${T}"/{kbuildsycoca,update-mime-database}
- chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
- # --bindir and --sharedir don't seem to work.
- # Pass them in anyway so we'll know when they are fixed.
- # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
- # violation with kbuildsycoca as in bug #287067, comment #13.
- export -n DISPLAY
- PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
- distutils_src_install --bindir="${D}usr/bin" --sharedir="${D}usr/share"
-
- grep -rlZ "${D}" "${D}" | xargs -0 sed -e "s:${D}:/:g" -i ||
- die "failed to fix harcoded \$D in paths"
-
- # Python modules are no longer installed in
- # site-packages, so remove empty dirs.
- find "${D}$(python_get_libdir)" -type d -empty -delete
-
- # 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"
- find "${D}"bin -type d -empty -delete
-
- dodir /usr/share
- mv "${D}share/"* "${D}usr/share/" ||
- die "failed to move share dir"
- find "${D}"share -type d -empty -delete
-
- # The menu entries end up here due to '--mode user' being added to
- # xdg-* options in src_prepare.
- dodir /usr/share/mime/packages
- chmod -fR a+rX,u+w,g-w,o-w "$HOME"/.local
- mv "$HOME"/.local/share/mime/packages/* "$D"usr/share/mime/packages/ ||
- die "failed to register mime types"
- dodir /usr/share/icons
- mv "$HOME"/.local/share/icons/* "$D"usr/share/icons/ ||
- die "failed to install icon files"
- domenu "$HOME"/.local/share/applications/*.desktop ||
- die "failed to install .desktop menu files"
-
- dobashcompletion "$D"etc/bash_completion.d/calibre
- rm -r "${D}"etc/bash_completion.d
- find "${D}"etc -type d -empty -delete
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- distutils_pkg_postinst
- bash-completion_pkg_postinst
-}