commit:     0e658c56685950d5f75f8b8e85c225926d2c1952
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 16:17:52 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 16:43:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e658c56

app-misc/astrolog-ephemeris: add 20230414

- switch to a different versioning scheme which is more appropriate to
  ephemeris files
- switch from old less accurate Placalc ephemeris files to Swiss
  Ephemeris files, which are searched by app-misc/astrolog by default.

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 app-misc/astrolog-ephemeris/Manifest               |  1 +
 .../astrolog-ephemeris-20230414.ebuild             | 34 ++++++++++++++++++++++
 app-misc/astrolog-ephemeris/metadata.xml           |  9 +++---
 3 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/app-misc/astrolog-ephemeris/Manifest 
b/app-misc/astrolog-ephemeris/Manifest
index 5ed2adfca4d3..fa28ff836eee 100644
--- a/app-misc/astrolog-ephemeris/Manifest
+++ b/app-misc/astrolog-ephemeris/Manifest
@@ -1 +1,2 @@
+DIST astrolog-ephemeris-20230414.zip 34586270 BLAKE2B 
301cd558cf50fbea242b41388b6f04372f8d1af0dd899dc40731b3a2ac8771c5ef08a4cbb987c6b4ef6f29613b5fe4d5933601808b18f2d266dee36f17bfea36
 SHA512 
a058a81815c13e31cb03c22408238fe7582cd5b5b548ef9562a60fa89e37b2de2c16d729fd3e78311c9a822169e9d93987599f658ca7b6b1f536c2a0ba76307c
 DIST ephemall.zip 4604012 BLAKE2B 
0caee003272734a71a3f2d10871e1c034c9e9039f5cb0f09ed19d85122ba875794933d53624d6a379838a7f2c33728c2da9aaadbd91887fea018ecfc1c786557
 SHA512 
e7822cecb87466987107e84aae64d292dad31de9d2c268886869a37ea9e99bf81b2a530129c0f6538c6b55ad46b185e16ee0c5b0d8858acfe189f19e2595c6da

diff --git a/app-misc/astrolog-ephemeris/astrolog-ephemeris-20230414.ebuild 
b/app-misc/astrolog-ephemeris/astrolog-ephemeris-20230414.ebuild
new file mode 100644
index 000000000000..f840301c959c
--- /dev/null
+++ b/app-misc/astrolog-ephemeris/astrolog-ephemeris-20230414.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# This archive is most probably created from files from following repository
+# https://github.com/aloistr/swisseph/tree/master/ephe
+#
+# The version represents archive creation date.
+#
+# Upstream calls them Swiss Ephemeris files and Astrolog version 7.70 (most
+# recent version in time of writing this comment) tries to search them by
+# default.
+
+DESCRIPTION="ephemeris files for optional extended accuracy of astrolog's 
calculations"
+HOMEPAGE="https://www.astrolog.org/astrolog.htm";
+SRC_URI="
+       https://www.astrolog.org/ftp/ephem/astephem.zip
+               -> ${P}.zip
+"
+
+S="${WORKDIR}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="app-misc/astrolog"
+BDEPEND="app-arch/unzip"
+
+src_install() {
+       insinto /usr/share/astrolog
+       doins -r .
+}

diff --git a/app-misc/astrolog-ephemeris/metadata.xml 
b/app-misc/astrolog-ephemeris/metadata.xml
index 062170537b8f..f5ac3a0ecaf3 100644
--- a/app-misc/astrolog-ephemeris/metadata.xml
+++ b/app-misc/astrolog-ephemeris/metadata.xml
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>Gentoo Science Project</name>
-</maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <stabilize-allarches/>
 </pkgmetadata>

Reply via email to