diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-31 17:09:04 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-31 17:09:04 +0000 |
commit | 8b55761bd2e21264422e026e4d17bed6287e7b59 (patch) | |
tree | a7cb8429b270ce46aeddee29f65e6728d068ee2c /x11-misc | |
parent | Fix case in man page reference, by Marckus J. (bug #454788). (diff) | |
download | gentoo-2-8b55761bd2e21264422e026e4d17bed6287e7b59.tar.gz gentoo-2-8b55761bd2e21264422e026e4d17bed6287e7b59.tar.bz2 gentoo-2-8b55761bd2e21264422e026e4d17bed6287e7b59.zip |
initial import with Henrique Dias wrt #454600
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/sunflower/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/sunflower/Manifest | 5 | ||||
-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 |
5 files changed, 114 insertions, 0 deletions
diff --git a/x11-misc/sunflower/ChangeLog b/x11-misc/sunflower/ChangeLog new file mode 100644 index 000000000000..93c04d3ae50a --- /dev/null +++ b/x11-misc/sunflower/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/sunflower +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v 1.1 2013/01/31 17:09:04 hasufell Exp $ + +*sunflower-0.1_alpha52 (31 Jan 2013) + + 31 Jan 2013; Julian Ospald <hasufell@gentoo.org> + +sunflower-0.1_alpha52.ebuild, +files/sunflower, +metadata.xml: + initial import with Henrique Dias wrt #454600 + diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest new file mode 100644 index 000000000000..eea620edb092 --- /dev/null +++ b/x11-misc/sunflower/Manifest @@ -0,0 +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 +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 +} |