diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-31 17:09:05 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-31 17:09:05 +0000 |
commit | 43de249d8f894b2dfea7b8efdb017f5e94e80fda (patch) | |
tree | a10b5f28ff5b1db5543739825b2c8b5c64687a0f /x11-misc | |
parent | initial import with Henrique Dias wrt #454600 (diff) | |
download | historical-43de249d8f894b2dfea7b8efdb017f5e94e80fda.tar.gz historical-43de249d8f894b2dfea7b8efdb017f5e94e80fda.tar.bz2 historical-43de249d8f894b2dfea7b8efdb017f5e94e80fda.zip |
initial import with Henrique Dias wrt #454600
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/sunflower/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/sunflower/files/sunflower | 5 | ||||
-rw-r--r-- | x11-misc/sunflower/metadata.xml | 15 | ||||
-rw-r--r-- | x11-misc/sunflower/sunflower-0.1_alpha52.ebuild | 79 |
4 files changed, 101 insertions, 2 deletions
diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest index eea620edb092..a13a59c19d4d 100644 --- a/x11-misc/sunflower/Manifest +++ b/x11-misc/sunflower/Manifest @@ -1,5 +1,5 @@ AUX sunflower 82 SHA256 ec4ccbe91715cffc2974056a5bb02aa11016821aede4074ec22e5d7ee8c31023 SHA512 5e9685e8e2d8933e9b3bb2f3dc92ad677f38b63766bdb407cef7373590ed8d0e73aebd1ed6e489b39c8b1477c50657df499a7b5e50c09df1e675448dcad7f62c WHIRLPOOL 1db306f95c84d3b23878aa93d205b484da1272d39c7ded5860aabb90d7ebbf3739a5c62e68aa87c713380287cfefbffe831353fd073152b91d58cc5b32157e9b DIST Sunflower-0.1a-52.tgz 670495 SHA256 30977e55dfa13ba82a14ca1507174b8689f88a365a262c599744b1366493cd39 SHA512 6864223705d54cc956533f55cb20e0d863662c0fd804e0a14cd4a1cafa55891d9f57d7b22023925c193aaf787d1146a1df289e967f80e3f9e49c9584d7d40d1c WHIRLPOOL 70ae14c719a2a806098ef401cbb22ab238738c2ea23e137917711a807442b05b4b8649ad8934aa030cc5a7e35f4256aa83a8c441e632fd68626a7dbefec28c23 -EBUILD sunflower-0.1_alpha52.ebuild 1848 SHA256 ec25b406fe86780c3f3a652f5ed19fffd58a28fc67ada76c1a9b816a1cdf3a24 SHA512 7b175f47b105dd9ad882ccb50cb0e9f28eaf77679f14a0bf5514addcb7c65e28903de5fe040148f97b1538790491f27751017b3729bfdf8e7af9af354203af9d WHIRLPOOL 306cdbf21ba9f622fcd361ea8e26ecdbd3a05204e1696157d52960a14aa3e70ee8aec8791cee4600fb7dfe77c4df664cf747c1db41a7e81b1301eabc4e595f29 -MISC ChangeLog 323 SHA256 94a38499c228b99e8ca1814de456c0276413ad915eeb736e62d75f1ca795dbc2 SHA512 33a08d90c6e8cbe02af77f45ddc789a614677d9d493f4866e569958505bb364967ad177f652477d5cb2d3f85235a9892f7ddee88c9b9434035a05c0d27ad888b WHIRLPOOL 960365862d0585663119ccac11e2315d2155f107fe085d431a47ee8f7dacc7e1b8b990dc9ba13c3edc9caaac56a7c41410b3d67d13850c124dd741b9a309690d +EBUILD sunflower-0.1_alpha52.ebuild 1959 SHA256 4bf9997e2660376d7f0f4c3555feb7418e23c79301b0fa6cbf20f899f8009f86 SHA512 55344abb982fff9b2a5c65c7f7ec1f6ba219133f3f7666135729da428ee563501c75aa4f6e9cb61e5f0ee75bf6b9a14d1899ef7e7ea5db7844ad5e16aa5f16dc WHIRLPOOL 0f19d5cd418578de4ee52fccc3acd811b62f1ecd1596348e79224ff598e75377d48ce123b2f2fbe2b9044e149824651bffbbb84d90cabca81d10303f201489eb +MISC ChangeLog 415 SHA256 3f57623351f6a04931ee93b06b7c83901581606d08d7984140c5fda695d6c82c SHA512 609bd7e2d9dd1981ce7a181b91869fcb6cdadd3d4cfe3eee1de44c969d942482a71ffb99fe918d0aefb090ccb393d0d1158f4651f4b28fb3c0a3b1776fe24eba WHIRLPOOL df118c9e95fdc45b123a99e97798520d4d6a716c18b1b86bebd3f4e8dafd4d2be2af987812a4bfacf9c660513b9a63dcae8b2a2c18d135239b73845e01756415 MISC metadata.xml 464 SHA256 cd2e89da7375471da49592dbfe8ca461b9fa4188101adce0f3e7bf9669c7cc81 SHA512 4b9b0e786ec573dd2fbd4a5d53794ab756ab8227ae48536e179a6a442311da79051a0a0b44c8a932006c3a2cc5d25bfa37377734dccebfb900b5838d4e82e02d WHIRLPOOL 0cc8ab6191429a30fe252ea031a446db274644448ce7b851d6924665669a267e04d397e660743c51343626fe6b40d0260ba01c9cd2c626caee3a9a39b11b88b0 diff --git a/x11-misc/sunflower/files/sunflower b/x11-misc/sunflower/files/sunflower new file mode 100644 index 000000000000..192d4b99e1ae --- /dev/null +++ b/x11-misc/sunflower/files/sunflower @@ -0,0 +1,5 @@ +#!/usr/bin/env python + +import os +os.chdir("@SITEDIR@") +import sunflower.Sunflower diff --git a/x11-misc/sunflower/metadata.xml b/x11-misc/sunflower/metadata.xml new file mode 100644 index 000000000000..dfc124ad526e --- /dev/null +++ b/x11-misc/sunflower/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer> + <email>henrique.ribeiro.dias@gmail.com</email> + <name>Henrique Dias</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> +</pkgmetadata> + diff --git a/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild b/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild new file mode 100644 index 000000000000..49a126e412c8 --- /dev/null +++ b/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild,v 1.1 2013/01/31 17:09:04 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +inherit eutils fdo-mime gnome2-utils python-r1 + +MY_PV="${PV%_alpha*}a-${PV#*_alpha}" +MY_PN="Sunflower" +DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support" +HOMEPAGE="http://code.google.com/p/sunflower-fm" +SRC_URI="http://sunflower-fm.googlecode.com/files/${MY_PN}-${MY_PV}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/pygtk-2.15.0 + >=dev-python/notify-python-0.1 + virtual/python-argparse[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_PN} + +src_prepare() { + find "${S}" -name "*.py[co]" -delete + + sed -i \ + -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \ + ${MY_PN}.py || die +} + +src_install() { + installme() { + # install modules + python_moduleinto ${PN} + python_domodule images translations application ${MY_PN}.py \ + AUTHORS CHANGES COPYING DEPENDS TODO + + touch "${D}/$(python_get_sitedir)/${PN}/__init__.py" || die + + # generate and install startup scripts + sed \ + -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ + "${FILESDIR}"/${PN} > "${T}"/${PN} || die + python_doscript "${T}"/${PN} + } + + # install for all enabled implementations + python_foreach_impl installme + + doicon images/${PN}.png + doicon -s scalable images/${PN}.svg + newmenu ${MY_PN}.desktop ${PN}.desktop +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + + # TODO: better description + elog "optional dependencies:" + elog " dev-python/libgnome-python" + elog " media-libs/mutagen" + elog " x11-libs/vte:0[python] (terminal support)" +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |