Diff adolc-2.7.2 with a adolc-9999

/usr/portage/sci-libs/adolc/adolc-9999.ebuild 2023-10-09 14:52:35.060368491 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
11 11
if [[ ${PV} == *9999 ]]; then
12 12
	inherit git-r3
13 13
	EGIT_REPO_URI="https://github.com/coin-or/ADOL-C"
14
	SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2"
14 15
else
15 16
	SRC_URI="https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz"
16
	SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7.2-patches.tar.bz2"
17
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
17
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
18 18
	S="${WORKDIR}/ADOL-C-releases-${PV}"
19 19
fi
20 20

  
......
32 32
	"${WORKDIR}"/${PN}-2.5.0-no-colpack.patch
33 33
	"${WORKDIR}"/${PN}-2.5.0-pkgconfig-no-ldflags.patch
34 34
	"${WORKDIR}"/${PN}-2.6.2-dash.patch
35
	"${WORKDIR}"/${P}-swig-python-configure.patch
36 35
)
37 36

  
37
src_unpack() {
38
	git-r3_src_unpack
39
	default
40
}
41

  
38 42
src_prepare() {
39 43
	default
40 44
	eautoreconf
41 45
}
42 46

  
43 47
src_configure() {
44
	# Disabling Python for now because swig build
45
	# needs work. Revisit with >=2.7.3.
46
	# https://bugs.gentoo.org/730750
47
	# https://github.com/coin-or/ADOL-C/issues/20
48 48
	# Can drop CONFIG_SHELL once fixed up dash/bashisms patch
49 49
	CONFIG_SHELL="${BROOT}/bin/bash" econf \
50 50
		--disable-python \
Thank you!