diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-26 21:04:56 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-26 21:04:56 +0000 |
commit | 7589abcff8fef18a0b870cb692c69d580508b6a8 (patch) | |
tree | 6185bec07eededd07725791bd63e318a1d8d0c61 /app-misc/hachoir-metadata | |
parent | Delete older ebuild. (diff) | |
download | historical-7589abcff8fef18a0b870cb692c69d580508b6a8.tar.gz historical-7589abcff8fef18a0b870cb692c69d580508b6a8.tar.bz2 historical-7589abcff8fef18a0b870cb692c69d580508b6a8.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-15841-svn/cvs/Linux x86_64
Diffstat (limited to 'app-misc/hachoir-metadata')
-rw-r--r-- | app-misc/hachoir-metadata/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/hachoir-metadata/Manifest | 6 | ||||
-rw-r--r-- | app-misc/hachoir-metadata/hachoir-metadata-1.3.2.ebuild | 72 |
3 files changed, 83 insertions, 5 deletions
diff --git a/app-misc/hachoir-metadata/ChangeLog b/app-misc/hachoir-metadata/ChangeLog index 1cebdc5fd1b4..1d7cdb1d733f 100644 --- a/app-misc/hachoir-metadata/ChangeLog +++ b/app-misc/hachoir-metadata/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/hachoir-metadata -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/ChangeLog,v 1.5 2008/08/12 08:09:08 cedk Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/ChangeLog,v 1.6 2010/03/26 21:04:56 arfrever Exp $ + +*hachoir-metadata-1.3.2 (26 Mar 2010) + + 26 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -hachoir-metadata-1.0.ebuild, +hachoir-metadata-1.3.2.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. 12 Aug 2008; CĂ©dric Krier <cedk@gentoo.org> hachoir-metadata-1.0.ebuild, hachoir-metadata-1.1.ebuild: diff --git a/app-misc/hachoir-metadata/Manifest b/app-misc/hachoir-metadata/Manifest index 2815a5757cf4..9042e39b8c70 100644 --- a/app-misc/hachoir-metadata/Manifest +++ b/app-misc/hachoir-metadata/Manifest @@ -1,6 +1,6 @@ -DIST hachoir-metadata-1.0.tar.gz 47944 RMD160 ae696db883ce92131758ae2a96db68040876ed07 SHA1 8a275315ee039043260a47329f6bd06aee9c3e17 SHA256 4bee729e72fe50edb436e7d2120ca0a9564dc5997ecacf9d409b55371878e567 DIST hachoir-metadata-1.1.tar.gz 52915 RMD160 c520cb25c00c9ca3d7a02f4bbb09c525655f4337 SHA1 8b4f66108374e113208dccdadb92f18fb3632b95 SHA256 8c4fb1df69a862aa9a8175cbfb1fedda5ec88a54925fd3b2844d35d6a1870bc1 -EBUILD hachoir-metadata-1.0.ebuild 1245 RMD160 7fcc70dc292cc6781e0b36b3dfdb2469cdd1f1e7 SHA1 225e11600826b7062ec6df6909a304a5fd31605e SHA256 1c5a18870716e181cfc77f9b4b15610e15c2d22b3f9bdfc6ccddbcc33c564fa3 +DIST hachoir-metadata-1.3.2.tar.gz 51837 RMD160 26c13a0b682f977722392e0b199b3ab34e987411 SHA1 787266f87999a1eeee7e3fd2f7db350ef2e92cde SHA256 f13aa356b78aa0d7497588be604e4fa6b5e9b4dc950fac67d6079bad5e19530a EBUILD hachoir-metadata-1.1.ebuild 1346 RMD160 1026bc8800239eb6358a3c8e8aa510bc2ca4cc3f SHA1 412a5c5a59e5d7cdc9887baa9f8c9d5c58932b8a SHA256 d1ca580fbc32afdac11af22325e118286e2bc3632e9c31915deecbf946e0c1c6 -MISC ChangeLog 971 RMD160 b48406454313a3629ab7756aecb21b6eb1ab98d6 SHA1 b4cace56befd1f9ab75eaaefee76fa9b5e8d1b81 SHA256 5bf5c1d9107291cfdd32a23253f897b32b449ff63923bcc910674b34543edd62 +EBUILD hachoir-metadata-1.3.2.ebuild 1792 RMD160 3d3ae773f20dba4549a4ca9bdd901a729a0f7b65 SHA1 82427e101f84bd8b3544cf1e51589be81e05be88 SHA256 5323bfa5af5894309c658c8b164c3316be312dcc80b97b44d91e5c57dc1e6563 +MISC ChangeLog 1193 RMD160 17688c41bd481319bbac5e88a174ce3207c9451b SHA1 602794ec4fcf08bd9c71355bc9fbc05211333ec1 SHA256 0b8705684cde5f5130cae59640499ce23ac970ee371acc28c6a2a7387e2fbb77 MISC metadata.xml 384 RMD160 51db2252f9e705d51058a0a2c5fb40dfc00ccc50 SHA1 b29cdd97515c7f3a3e8f1a61aca81269a96807dc SHA256 cfdfddecde97add48f092e2fce04d0389d41cead384c4aadcfe84f04c7edb267 diff --git a/app-misc/hachoir-metadata/hachoir-metadata-1.3.2.ebuild b/app-misc/hachoir-metadata/hachoir-metadata-1.3.2.ebuild new file mode 100644 index 000000000000..2385755fedcc --- /dev/null +++ b/app-misc/hachoir-metadata/hachoir-metadata-1.3.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hachoir-metadata/hachoir-metadata-1.3.2.ebuild,v 1.1 2010/03/26 21:04:56 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Program to extract metadata using Hachoir library" +HOMEPAGE="http://bitbucket.org/haypo/hachoir/wiki/hachoir-metadata http://pypi.python.org/pypi/hachoir-metadata" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gnome gtk kde qt4" + +RDEPEND=">=dev-python/hachoir-core-1.3 + >=dev-python/hachoir-parser-1.3 + gtk? ( >=dev-python/pygtk-2.0 ) + gnome? ( gnome-base/nautilus gnome-extra/zenity ) + kde? ( kde-base/konqueror ) + qt4? ( dev-python/PyQt4 )" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +DISTUTILS_GLOBAL_OPTIONS=("--setuptools") +PYTHON_MODNAME="${PN/-/_}" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test_doc.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use gnome; then + exeinto /usr/share/nautilus-scripts + doexe gnome/hachoir + fi + + if use kde; then + exeinto /usr/bin + doexe kde/hachoir-metadata-kde + insinto /usr/share/apps/konqueror/servicemenus + doins kde/hachoir.desktop + fi + + if ! use gtk; then + rm "${ED}usr/bin/hachoir-metadata-gtk"* + fi + + if ! use qt4; then + rm "${ED}usr/bin/hachoir-metadata-qt"* + fi +} + +pkg_postinst() { + distutils_pkg_postinst + + if use gnome; then + elog "To enable the nautilus script, symlink it with:" + elog " $ mkdir -p ~/.gnome2/nautilus-scripts" + elog " $ ln -s /usr/share/nautilus-scripts/hachoir ~/.gnome2/nautilus-script" + fi +} |