diff --git a/dev-libs/libfcrypto/Manifest b/dev-libs/libfcrypto/Manifest index 63377e675..5f57cde87 100644 --- a/dev-libs/libfcrypto/Manifest +++ b/dev-libs/libfcrypto/Manifest @@ -1,2 +1 @@ -DIST libfcrypto-alpha-20191231.tar.gz 526680 BLAKE2B f31ca0c12ffe3a6a5ab02d59f932d45fbb8a88dfe68ee7cfe57c4df17f630cb447061fd28763a3f4b3a1f44a909a4d3787c452635e3fc22f9d5ecf9996d43621 SHA512 cdb8c59b969c15f19754779f879f24d5144376bb56a722cc511042ba4fe52fec109f7dcb40ded95a53e78160e62fb9f3ef8ea1713d776ace814f0e0da758fa1a -DIST libfcrypto-alpha-20200104.tar.gz 527702 BLAKE2B 16c68483de30ac634b96200f13537945dd679bf1bf16de8c42a47826d88dd3e61c94d21298966de19670c04f980385a3e93e12b86f90eb13976df14b9611d4dd SHA512 ce51feb272a8a0dc51e54a7fd5e0d6ea6409b003692a59e5d8624bd83dddf8cf383a2ba8d357e54de701953db249865a7bfa42655866776f64fe248fd57e68c1 +DIST libfcrypto-alpha-20240414.tar.gz 629026 BLAKE2B 8ed1e44897886f9def27989c08e60f00817ff1cabb63cc069eefb415337343d562abce197aa6f3623f2f0501b219a3088b694ac1f3a7786ec4d35a2b1520bbc0 SHA512 84379ba3e7c198e18abe2ac0adaeb086b50424b8610ffad58deb9ae0aedb734240e8a0788e5ca069750d9ebfdb5a1398f96ca65860f2096a691adfcdb9b26935 diff --git a/dev-libs/libfcrypto/libfcrypto-20200104.ebuild b/dev-libs/libfcrypto/libfcrypto-20200104.ebuild deleted file mode 100644 index e8cafe41f..000000000 --- a/dev-libs/libfcrypto/libfcrypto-20200104.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library for encryption formats" -HOMEPAGE="https://github.com/libyal/libfcrypto" -SRC_URI="https://github.com/libyal/libfcrypto/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="nls" - -DEPEND=" - nls? ( - virtual/libiconv - virtual/libintl - ) - dev-libs/libcerror[nls=] -" -RDEPEND=" - ${DEPEND} -" - -src_prepare() { - eautoreconf - eapply_user -} - -src_configure() { - econf \ - $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) \ - -} - -src_install() { - default - # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libfcrypto/libfcrypto-20191231.ebuild b/dev-libs/libfcrypto/libfcrypto-20240414.ebuild similarity index 73% rename from dev-libs/libfcrypto/libfcrypto-20191231.ebuild rename to dev-libs/libfcrypto/libfcrypto-20240414.ebuild index e8cafe41f..61da2e870 100644 --- a/dev-libs/libfcrypto/libfcrypto-20191231.ebuild +++ b/dev-libs/libfcrypto/libfcrypto-20240414.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +PYTHON_COMPAT=( python3_{11..13} ) +inherit autotools python-single-r1 DESCRIPTION="Library for encryption formats" HOMEPAGE="https://github.com/libyal/libfcrypto" @@ -12,7 +13,11 @@ SRC_URI="https://github.com/libyal/libfcrypto/releases/download/${PV}/${PN}-alph LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -IUSE="nls" +IUSE="nls python" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" DEPEND=" nls? ( @@ -20,9 +25,11 @@ DEPEND=" virtual/libintl ) dev-libs/libcerror[nls=] + python? ( dev-lang/python:* ) " RDEPEND=" ${DEPEND} + python? ( ${PYTHON_DEPS} ) " src_prepare() { @@ -35,6 +42,7 @@ src_configure() { $(use_enable nls) \ $(use_with nls libiconv-prefix) \ $(use_with nls libintl-prefix) \ + $(use_enable python) \ } diff --git a/dev-libs/libfcrypto/metadata.xml b/dev-libs/libfcrypto/metadata.xml index ace7c2d3a..f9b1892ae 100644 --- a/dev-libs/libfcrypto/metadata.xml +++ b/dev-libs/libfcrypto/metadata.xml @@ -5,4 +5,7 @@ unknown@pentoo.ch Author Unknown + + libyal/libfcrypto +