Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/planarity/
Date: Fri, 18 Jun 2021 23:41:40
Message-Id: 1624059408.374890688ad66eb740e51e205be224ae7185047f.mjo@gentoo
1 commit: 374890688ad66eb740e51e205be224ae7185047f
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 18 23:29:21 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 18 23:36:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37489068
7
8 sci-mathematics/planarity: use upstream SRC_URI.
9
10 The upstream github release now contains the "make dist" tarball with
11 all of the autotools stuff that end users need to build the software.
12 In the past we used files.sagemath.org as SRC_URI to work around their
13 absence, but that is no longer necessary.
14
15 For the moment this requires dropping USE=examples, since the docs
16 aren't integrated with autotools, but we can address that upstream for
17 the next release.
18
19 Closes: https://github.com/gentoo/gentoo/pull/21166
20 Package-Manager: Portage-3.0.18, Repoman-3.0.2
21 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
22
23 sci-mathematics/planarity/Manifest | 2 +-
24 sci-mathematics/planarity/planarity-3.0.1.0.ebuild | 10 ++--------
25 2 files changed, 3 insertions(+), 9 deletions(-)
26
27 diff --git a/sci-mathematics/planarity/Manifest b/sci-mathematics/planarity/Manifest
28 index 60bcc01c982..d2046110e1e 100644
29 --- a/sci-mathematics/planarity/Manifest
30 +++ b/sci-mathematics/planarity/Manifest
31 @@ -1,2 +1,2 @@
32 DIST planarity-3.0.0.5.tar.gz 492644 BLAKE2B d183bc07cab7246b62cc7340956206e3f6c5999aa92b223e7665ebd8ae1bc0c354011c078ea4f42d2e45efa2ae5e83e082e4c8d80e3391a4f20be1020ebf8188 SHA512 dfeb7e024e1f5758e5abbd854c4ca963b4f5d45433b2c5eb00ce85c154b5407ebccd1ace0db167488dee757db2c23367101a2aa568941a3664bac9058ea24328
33 -DIST planarity-3.0.1.0.tar.gz 492304 BLAKE2B 3bb243e38cdf45de6dc40bbbdf7160f99c26063924dc528bc25992f304869debc7702de49c4666c76c5c6526c02b5c75ecd0c97875d56238ef7594ae7acaa26d SHA512 204fe2426fb4bbb78eade42eb65e7102daa5d73ff6bd8201e98f3807127737e31115520b3073a5d3e39872c8efc0167d5c2c4b6ce8d6fcfa9bb0e320660efc0f
34 +DIST planarity-3.0.1.0.tar.gz 442280 BLAKE2B c71f8770e92efd8b322d5c5d3f9a3a2917891ae39e41b3f76ac36d74e5e197f18dcfac82d802fb80eeeaac99bcfa5f1a91408f1cf82c7a289321ede7fc97fc04 SHA512 0ad6d7edbd31f29c9b39cc8c7918a9976e5849cf2ca9eefbb260478666ea8d0bac21647e939994ceef7d294436dd12a403520690da14407d45ef25267300282d
35
36 diff --git a/sci-mathematics/planarity/planarity-3.0.1.0.ebuild b/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
37 index 3eeb25a46ec..ff50336d2e9 100644
38 --- a/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
39 +++ b/sci-mathematics/planarity/planarity-3.0.1.0.ebuild
40 @@ -3,21 +3,16 @@
41
42 EAPI=7
43
44 -MY_PN="edge-addition-planarity-suite-Version"
45 DESCRIPTION="The edge addition planarity suite of graph algorithms"
46 HOMEPAGE="https://github.com/graph-algorithms/edge-addition-planarity-suite/"
47
48 -# Use the tarball from sage because the github release doesn't
49 -# contain the generated autotools files (like ./configure).
50 -SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.gz"
51 -IUSE="examples static-libs"
52 +SRC_URI="https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/download/Version_${PV}/${P}.tar.gz"
53 +IUSE="static-libs"
54
55 LICENSE="BSD"
56 SLOT="0"
57 KEYWORDS="~amd64 ~x86"
58
59 -S="${WORKDIR}/${MY_PN}_${PV}"
60 -
61 src_configure() {
62 econf $(use_enable static-libs static)
63 }
64 @@ -25,5 +20,4 @@ src_configure() {
65 src_install() {
66 default
67 find "${ED}" -name '*.la' -delete || die
68 - use examples && dodoc -r c/samples
69 }