summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2016-07-14 15:37:21 -0700
committerPatrice Clement <monsieurp@gentoo.org>2016-08-30 17:29:30 +0200
commitf91bd4a5dac8cb786cb607dd75b8cce8514c2c24 (patch)
treed291dd9911e0eecd8fec0a313b548fca097e3d79 /app-misc/openastro
parentapp-vim/nginx-syntax: add ~x86-fbsd keyword. (diff)
downloadgentoo-f91bd4a5dac8cb786cb607dd75b8cce8514c2c24.tar.gz
gentoo-f91bd4a5dac8cb786cb607dd75b8cce8514c2c24.tar.bz2
gentoo-f91bd4a5dac8cb786cb607dd75b8cce8514c2c24.zip
app-misc/openastro{,-data}, dev-python/pyswisseph: new package.
openastro is an open source astrology program written in Python. Gentoo-Bug: https://bugs.gentoo.org/586110 Closes: https://github.com/gentoo/gentoo/pull/1888 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-misc/openastro')
-rw-r--r--app-misc/openastro/Manifest1
-rw-r--r--app-misc/openastro/metadata.xml23
-rw-r--r--app-misc/openastro/openastro-1.1.48.ebuild34
3 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/openastro/Manifest b/app-misc/openastro/Manifest
new file mode 100644
index 000000000000..0c5d46528b82
--- /dev/null
+++ b/app-misc/openastro/Manifest
@@ -0,0 +1 @@
+DIST openastro.org_1.1.48.orig.tar.gz 205879 SHA256 504fe7fa224ef66f3be2752593b7bfde84c7b599c5f26733f6093b55bf2a5b2a SHA512 996e503a8dd2504da252ad2b20ac185301e81523629cbcf05fcf37ec4ca3859ef513a194feb2d05bd7c4cbe796bf514afa4eb242b8cd51c65d134b51165f97d3 WHIRLPOOL a73d27f48aea0ed9e7af55bb7e2efc912b17283b515de705ec72193fe187c05a11635bfb5a1ea98d95a2dcbf39bbf3eda4ece636ca5ab945dcafad6e690fa209
diff --git a/app-misc/openastro/metadata.xml b/app-misc/openastro/metadata.xml
new file mode 100644
index 000000000000..209be477efe3
--- /dev/null
+++ b/app-misc/openastro/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>devel@openastro.org</email>
+ <name>Pelle van der Scheer</name>
+ </maintainer>
+ <bugs-to>https://bugs.launchpad.net/openastro.org</bugs-to>
+ </upstream>
+ <use>
+ <flag name="jpeg">Enable exporting Astrological Charts to jpeg</flag>
+ <flag name="png">Enable exporting Astrological Charts to png</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/openastro/openastro-1.1.48.ebuild b/app-misc/openastro/openastro-1.1.48.ebuild
new file mode 100644
index 000000000000..da3d00fbc79e
--- /dev/null
+++ b/app-misc/openastro/openastro-1.1.48.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN}.org
+
+DESCRIPTION="A fully-featured Open Source Astrology Program"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+IUSE="jpeg png"
+
+DEPEND="
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/pycairo[svg,${PYTHON_USEDEP}]
+ dev-python/librsvg-python[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pyswisseph[${PYTHON_USEDEP}]
+ app-misc/openastro-data[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ jpeg? ( media-gfx/imagemagick[jpeg,svg] )
+ png? ( media-gfx/imagemagick[png,svg] )"
+
+S=${WORKDIR}/${MY_PN}-${PV}