diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-12-17 19:32:38 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-12-17 19:32:38 +0000 |
commit | 3a2fd694f0b5c18835073ba1a7e2cc802aaa7639 (patch) | |
tree | 58f594b423f9d71a03ced644cdcd803141de52d4 | |
parent | net-p2p/monero: version bump (diff) | |
download | portage-3a2fd694f0b5c18835073ba1a7e2cc802aaa7639.tar.xz |
dev-libs/libconcord: version bump
Package-Manager: Portage-3.0.9, Repoman-3.0.2
-rw-r--r-- | dev-libs/libconcord/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libconcord/libconcord-1.4.ebuild (renamed from dev-libs/libconcord/libconcord-1.2.ebuild) | 31 |
2 files changed, 23 insertions, 10 deletions
diff --git a/dev-libs/libconcord/Manifest b/dev-libs/libconcord/Manifest index c6076db1..f10e14c5 100644 --- a/dev-libs/libconcord/Manifest +++ b/dev-libs/libconcord/Manifest @@ -1 +1 @@ -DIST concordance-1.2.tar.bz2 1143635 BLAKE2B c6e3d1a9e84ea553f0edcd43db0f221262d20b1166148bc1b5d73ea45ad31fa0a7ecec83798905dbb05f46f9a3aada16c4753d81c11f3a5104f2aed5153431e9 SHA512 a1485d64e9489ca0ffe2e9be3f42870d878c798e197a2650ad9fa41cf89f593ae0fe1b8125df9d175b1d732930eda0bab5ed027e1bcd69f12dc56533dcfaa9fa +DIST libconcord-1.4.tar.gz 122724 BLAKE2B c4fb2ef81956a252509a3acfe41d3d48416a2fb09384c1481d67ed3f63b140731222cdd71c7ce15681e8f82ab253efabf0b465fb440d45a74ad0e153665ac8f6 SHA512 bf4645791f35e9328a72b56c2cf20be30980e9f70379be0e24494b0f86e14869ff86d789f0e90341f5ab0abc6e747f91d3bc0ec20f730c33473fc54c39cf543b diff --git a/dev-libs/libconcord/libconcord-1.2.ebuild b/dev-libs/libconcord/libconcord-1.4.ebuild index d90c282d..2fe1c5f9 100644 --- a/dev-libs/libconcord/libconcord-1.2.ebuild +++ b/dev-libs/libconcord/libconcord-1.4.ebuild @@ -3,29 +3,30 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 ) -inherit eutils xdg-utils perl-module distutils-r1 - -MY_P="concordance-${PV}" +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit autotools xdg-utils perl-module distutils-r1 DESCRIPTION="Library for programming the Logitech Harmony universal remote" HOMEPAGE="https://www.phildev.net/concordance" -SRC_URI="mirror://sourceforge/concordance/${MY_P}.tar.bz2" +SRC_URI="https://github.com/jaymzh/concordance/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="perl python static-libs" -DEPEND="perl? ( >=dev-lang/swig-2:= )" +DEPEND="perl? ( >=dev-lang/swig-2:= ) + python? ( ${PYTHON_DEPS} )" RDEPEND="dev-libs/hidapi dev-libs/libzip" -S="${WORKDIR}/${MY_P}/${PN}" +S="${WORKDIR}/concordance-${PV}/${PN}" src_prepare() { default + eautoreconf + if use perl ; then cd "${S}/bindings/perl" einfo "Prepare perl bindings in ${PWD}" @@ -33,6 +34,13 @@ src_prepare() { swig -perl5 concord.i cd "${S}" fi + + if use python ; then + cd "${S}/bindings/python" + einfo "Prepare python bindings in ${PWD}" + distutils-r1_src_prepare + cd "${S}" + fi } src_configure() { @@ -58,6 +66,13 @@ src_compile() { perl-module_src_compile cd "${S}" fi + + if use python ; then + cd "${S}/bindings/python" + einfo "Prepare python bindings in ${PWD}" + distutils-r1_src_compile + cd "${S}" + fi } src_install() { @@ -79,8 +94,6 @@ src_install() { distutils-r1_src_install cd "${S}" fi - - prune_libtool_files --all } pkg_postinst() { |