Diff libsearpc-3.2.0-r2 with a libsearpc-3.2.0_p1
/usr/portage/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild 2023-10-09 14:52:34.492368476 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_{9..10} ) |
7 | 7 | |
8 |
# Upstream is moving tags repeatedly, then we use commit hash. |
|
9 |
RELEASE_COMMIT="54145b03f4240222e336a9a2f402e93facefde65" #tag v3.2_latest |
|
10 | ||
8 | 11 |
inherit autotools python-single-r1 |
9 | 12 | |
10 | 13 |
DESCRIPTION="A simple C language RPC framework" |
11 | 14 |
HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/" |
12 |
SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
15 |
SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" |
|
13 | 16 | |
14 | 17 |
LICENSE="Apache-2.0" |
15 | 18 |
SLOT="0" |
16 |
KEYWORDS="amd64 ~x86" |
|
19 |
KEYWORDS="~amd64 ~x86" |
|
17 | 20 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
18 | 21 | |
19 | 22 |
DEPEND="${PYTHON_DEPS} |
... | ... | |
24 | 27 |
dev-python/simplejson[${PYTHON_USEDEP}] |
25 | 28 |
')" |
26 | 29 | |
30 |
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" |
|
31 | ||
27 | 32 |
src_prepare() { |
28 | 33 |
default |
29 | 34 |
sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die |