summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-02-28 15:07:57 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-02-28 15:07:57 +0000
commitc2f89f1c04442f9772f05c012b5eb0d474137280 (patch)
tree590c1764efc436b6eec9ca6fb7b514bc61de83f4 /app-misc/datovka
parentVersion bump to 2.0 (diff)
downloadgentoo-2-c2f89f1c04442f9772f05c012b5eb0d474137280.tar.gz
gentoo-2-c2f89f1c04442f9772f05c012b5eb0d474137280.tar.bz2
gentoo-2-c2f89f1c04442f9772f05c012b5eb0d474137280.zip
Version bump to 2.0.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/datovka')
-rw-r--r--app-misc/datovka/ChangeLog7
-rw-r--r--app-misc/datovka/datovka-2.0.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/app-misc/datovka/ChangeLog b/app-misc/datovka/ChangeLog
index 58c3664e0a9b..2d7b7a47e0bd 100644
--- a/app-misc/datovka/ChangeLog
+++ b/app-misc/datovka/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/datovka
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/datovka/ChangeLog,v 1.3 2012/02/19 13:47:01 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/datovka/ChangeLog,v 1.4 2012/02/28 15:07:57 scarabeus Exp $
+
+*datovka-2.0 (28 Feb 2012)
+
+ 28 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> +datovka-2.0.ebuild:
+ Version bump to 2.0.
19 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
maintain
diff --git a/app-misc/datovka/datovka-2.0.ebuild b/app-misc/datovka/datovka-2.0.ebuild
new file mode 100644
index 000000000000..1089fad2fffc
--- /dev/null
+++ b/app-misc/datovka/datovka-2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/datovka/datovka-2.0.ebuild,v 1.1 2012/02/28 15:07:57 scarabeus Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+inherit distutils
+
+DESCRIPTION="GUI to access Czech eGov \"Datove schranky\""
+HOMEPAGE="http://labs.nic.cz/page/969/datovka/"
+SRC_URI="http://www.nic.cz/public_media/datove_schranky/releases/${P}/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-python/pygtk:2
+ dev-python/pyopenssl
+ dev-python/reportlab
+ dev-python/sqlalchemy
+ media-fonts/dejavu
+ >=net-libs/dslib-1.7
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 4 "${WORKDIR}"
+}
+
+src_install() {
+ distutils_src_install
+ rm -rf "${ED}"/usr/share/${PN}/fonts/*
+ dosym /usr/share/fonts/${PN}/DejaVuSans.ttf /usr/share/dsgui/fonts/DejaVuSans.ttf
+}