commit:     374890688ad66eb740e51e205be224ae7185047f
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 18 23:29:21 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 23:36:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37489068

sci-mathematics/planarity: use upstream SRC_URI.

The upstream github release now contains the "make dist" tarball with
all of the autotools stuff that end users need to build the software.
In the past we used files.sagemath.org as SRC_URI to work around their
absence, but that is no longer necessary.

For the moment this requires dropping USE=examples, since the docs
aren't integrated with autotools, but we can address that upstream for
the next release.

Closes: https://github.com/gentoo/gentoo/pull/21166
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/planarity/Manifest                 |  2 +-
 sci-mathematics/planarity/planarity-3.0.1.0.ebuild | 10 ++--------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/planarity/Manifest 
b/sci-mathematics/planarity/Manifest
index 60bcc01c982..d2046110e1e 100644
--- a/sci-mathematics/planarity/Manifest
+++ b/sci-mathematics/planarity/Manifest
@@ -1,2 +1,2 @@
 DIST planarity-3.0.0.5.tar.gz 492644 BLAKE2B 
d183bc07cab7246b62cc7340956206e3f6c5999aa92b223e7665ebd8ae1bc0c354011c078ea4f42d2e45efa2ae5e83e082e4c8d80e3391a4f20be1020ebf8188
 SHA512 
dfeb7e024e1f5758e5abbd854c4ca963b4f5d45433b2c5eb00ce85c154b5407ebccd1ace0db167488dee757db2c23367101a2aa568941a3664bac9058ea24328
-DIST planarity-3.0.1.0.tar.gz 492304 BLAKE2B 
3bb243e38cdf45de6dc40bbbdf7160f99c26063924dc528bc25992f304869debc7702de49c4666c76c5c6526c02b5c75ecd0c97875d56238ef7594ae7acaa26d
 SHA512 
204fe2426fb4bbb78eade42eb65e7102daa5d73ff6bd8201e98f3807127737e31115520b3073a5d3e39872c8efc0167d5c2c4b6ce8d6fcfa9bb0e320660efc0f
+DIST planarity-3.0.1.0.tar.gz 442280 BLAKE2B 
c71f8770e92efd8b322d5c5d3f9a3a2917891ae39e41b3f76ac36d74e5e197f18dcfac82d802fb80eeeaac99bcfa5f1a91408f1cf82c7a289321ede7fc97fc04
 SHA512 
0ad6d7edbd31f29c9b39cc8c7918a9976e5849cf2ca9eefbb260478666ea8d0bac21647e939994ceef7d294436dd12a403520690da14407d45ef25267300282d

diff --git a/sci-mathematics/planarity/planarity-3.0.1.0.ebuild 
b/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
index 3eeb25a46ec..ff50336d2e9 100644
--- a/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
+++ b/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
@@ -3,21 +3,16 @@
 
 EAPI=7
 
-MY_PN="edge-addition-planarity-suite-Version"
 DESCRIPTION="The edge addition planarity suite of graph algorithms"
 HOMEPAGE="https://github.com/graph-algorithms/edge-addition-planarity-suite/";
 
-# Use the tarball from sage because the github release doesn't
-# contain the generated autotools files (like ./configure).
-SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.gz";
-IUSE="examples static-libs"
+SRC_URI="https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/download/Version_${PV}/${P}.tar.gz";
+IUSE="static-libs"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-S="${WORKDIR}/${MY_PN}_${PV}"
-
 src_configure() {
        econf $(use_enable static-libs static)
 }
@@ -25,5 +20,4 @@ src_configure() {
 src_install() {
        default
        find "${ED}" -name '*.la' -delete || die
-       use examples && dodoc -r c/samples
 }

Reply via email to