diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-10 01:33:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-10 01:33:06 +0100 |
commit | 1603847507a63218a29aada46e43f133d16d07eb (patch) | |
tree | d016ef447a3a8c16f799a1ac08cdd241e7893e39 /sys-apps/osinfo-db-tools | |
parent | 861ffe012c63c48053fb77b5110cbe900f651dfd (diff) |
gentoo auto-resync : 10:10:2022 - 01:33:06
Diffstat (limited to 'sys-apps/osinfo-db-tools')
4 files changed, 72 insertions, 1 deletions
diff --git a/sys-apps/osinfo-db-tools/Manifest b/sys-apps/osinfo-db-tools/Manifest index 612eeb941ea9..14f9906badde 100644 --- a/sys-apps/osinfo-db-tools/Manifest +++ b/sys-apps/osinfo-db-tools/Manifest @@ -1,3 +1,5 @@ +AUX 1.10.0-use-libsoup-2.4.patch 570 BLAKE2B a43ae98006dc2791c4594dfba5cd5a7400f44e2313b39fbc3cfd835ac476af53ec5fe682867c275e5a99ec72e3f0765c3eaf5b9a5272bbacb3f769832ab3a2aa SHA512 61f847cf7a57dfa083fac7a4595a9b7c96226d3a23ddd4400143f859ab93f81e2be020cb27b6daf70d121e9c0fa787813524bba255e006a35a57144c3efe9ad6 DIST osinfo-db-tools-1.10.0.tar.xz 60508 BLAKE2B 2b9abbdba25add96440e2a937ae994c0305f995b924ffc7c88c2c31c122d3e5cf0c710fbf55724bea56f63be7250321ee27d2179e3f247461d6843f7e03dfc58 SHA512 27271b15404a6cb0065854ba8556c272cf3427ff4fd18fc9a22dbca2b01686c32661b24e18f5eff9a1b240a3a459d8fe66cbde530873d60b8c850bdd0b42c475 -EBUILD osinfo-db-tools-1.10.0.ebuild 1056 BLAKE2B 0ab7b8ff43a04aec547f0bc3f149d063c425740ca77426f834a7b651ab3d29e3c31970ebeac1e0df19d797fe356081bb63a826d5e0107c467679e8ba8afbc099 SHA512 c00edab69b10ea90a00438b50753a3d526310653b04d01b03e97b9fda8d86e97488ef107e647c68fd3b68e7cbe408ed693f61b8f7e20f1427b825c875d1a5612 +EBUILD osinfo-db-tools-1.10.0-r1.ebuild 1056 BLAKE2B c197806b9a5f1e4b6abdd04e954006dcfae0dd6007078dc9dc2d90e550c00c7771336dd1ef51457e9731da172d00055e9b3d69e0283332465f37b724c32e1050 SHA512 e47b2e22b6d05379114f970bb65dd5c39de177e8d8275083444de88df96776f20d7f1e3b8e60befb192ba6f5331c9d5b76ba8eb3dee20e2eadd3754bb2563723 +EBUILD osinfo-db-tools-1.10.0.ebuild 1112 BLAKE2B b66b20ac5699c5e6f6cbb9bfe485af4b9beabb491b7df64361f2ba604d1428a3e1d1b4bbeca215b60d0e7060ba1827373c429192ccd03ea7a143917459c6d9e3 SHA512 1042e3e5442b3a07aa4c7817d5033ff2ffbe75b91890b240fbbd0f10eda59a11001d9b552e16c48d531ca9449dd5b2f86701b75a8e2490d4fa61b9667b7be82b MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8 diff --git a/sys-apps/osinfo-db-tools/files/1.10.0-use-libsoup-2.4.patch b/sys-apps/osinfo-db-tools/files/1.10.0-use-libsoup-2.4.patch new file mode 100644 index 000000000000..a59e451baed9 --- /dev/null +++ b/sys-apps/osinfo-db-tools/files/1.10.0-use-libsoup-2.4.patch @@ -0,0 +1,16 @@ +diff --git a/meson.build b/meson.build +index 1cc5ff5..72b18a8 100644 +--- a/meson.build ++++ b/meson.build +@@ -58,11 +58,7 @@ gobject_dep = dependency('gobject-2.0', version: glib_version_info) + # everything else + json_glib_dep = dependency('json-glib-1.0') + libarchive_dep = dependency('libarchive', version: '>= 3.0.0') +-libsoup_dep = dependency('libsoup-3.0', required: false) +-# fallback to libsoup2 +-if not libsoup_dep.found() + libsoup_dep = dependency('libsoup-2.4') +-endif + libxml_dep = dependency('libxml-2.0', version: '>= 2.6.0') + + # common dependencies diff --git a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild new file mode 100644 index 000000000000..4bbfc428e588 --- /dev/null +++ b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit meson python-any-r1 + +DESCRIPTION="Tools for managing the osinfo database" +HOMEPAGE="https://libosinfo.org/" +SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + dev-libs/json-glib + >=app-arch/libarchive-3.0.0:= + net-libs/libsoup:3.0 + >=dev-libs/libxml2-2.6.0 +" +# perl dep is for pod2man (manpages) +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + >=sys-devel/gettext-0.19.8 + dev-lang/perl + test? ( + $(python_gen_any_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \ + python_has_version "dev-python/requests[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} diff --git a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild index a202146e59fb..ab5d9f49f3fe 100644 --- a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild +++ b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild @@ -39,6 +39,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${PV}-use-libsoup-2.4.patch +) + python_check_deps() { use test && \ has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \ |