From c9b8491848e9a47ca9e0d49c555d5b70323fe211 Mon Sep 17 00:00:00 2001 From: Ethan Nijmeh Date: Sat, 24 Jul 2021 15:34:34 -0700 Subject: [PATCH 01/24] x11-drivers/OpenTabletDriver-bin: Updated to 0.5.3.3 Removed 0.5.3.1 and 0.5.3.2 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Ethan Nijmeh --- x11-drivers/OpenTabletDriver-bin/Manifest | 6 +- .../OpenTabletDriver-bin-0.5.3.1.ebuild | 78 ------------------- ...ld => OpenTabletDriver-bin-0.5.3.3.ebuild} | 10 +-- 3 files changed, 3 insertions(+), 91 deletions(-) delete mode 100644 x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.1.ebuild rename x11-drivers/OpenTabletDriver-bin/{OpenTabletDriver-bin-0.5.3.2.ebuild => OpenTabletDriver-bin-0.5.3.3.ebuild} (79%) diff --git a/x11-drivers/OpenTabletDriver-bin/Manifest b/x11-drivers/OpenTabletDriver-bin/Manifest index 29761c132e..1034da5690 100644 --- a/x11-drivers/OpenTabletDriver-bin/Manifest +++ b/x11-drivers/OpenTabletDriver-bin/Manifest @@ -1,4 +1,2 @@ -DIST OpenTabletDriver-0.5.3.1.tar.gz 4040912 BLAKE2B 0d0a05cfc5ed0339e65e43acddf701f26b12021f82c9d69db494887b71032a64be0f740f03ba518dda09c9cff79fc97d8b1599fbef5aba694fd5ad1f184d3020 SHA512 88e84cd3ea1722e4e7a252bb371455e3eb61f8ddf30cfd83d24149b92c33cf18112cbbabb0b7b7d443060b7742ac1910bd046b5489d685c5f60156c214f56f19 -DIST OpenTabletDriver-0.5.3.2.tar.gz 4051840 BLAKE2B c50ef62fc8232a09123430f180b6a6d92b16faf42edf08fecb05f4a5a5096e67dfd8f86c10976938333818194dca77ec4af0a42d5d0752c981378a80b8152c6f SHA512 92b90526651b8201ef5c6e0063bb204889abb64929b606577e4d6be7896a14954fd5c4a7cc39197640152c38009f5af45919d5cf1fff5acdb7bed603204daac4 -DIST OpenTabletDriver-source-0.5.3.1.tar.gz 174676 BLAKE2B a599aa070a8153ff9a63d0f4c717ac6bd62a03c0ca962612ad804908b686bbe80114c1b79a49fd43200963084ea6f68c5dbc349248509c4705792982c2e48f66 SHA512 55415e50559c6203f808c411a6111771d4639f3e1db67388da2f01068312afd744bd98a8c9fbf4d59f8ad94e1c71887dedcb032c354ec9d1f192fd091cd71426 -DIST OpenTabletDriver-source-0.5.3.2.tar.gz 174690 BLAKE2B 8ea7d235a4aaf4f605b152ec3971a44b556dd46981022ca5525f1a89307f4b444875fbe55377b37be99197e8c63eab4264c0343c3cecd893b2fefadd05a2110e SHA512 318ff65ed271ad7c2a1675b2079bca7ef4f6543025c155bcc1132b4ee8f26e7c85c1cdd363a1e7a4edba78ee234ed51b5d1841331a2bdeff05f3dd43e40af6e3 +DIST OpenTabletDriver-source-0.5.3.3.tar.gz 175040 BLAKE2B 117a32683dfbcec54c8a8d2e75350e4fc81f0e7592ad55468079d1bd85fb670acc60404befcad3704138ad59927d7237a5c2dac592c0a8f9a0eff1a44cd2c36c SHA512 f2ba081463b4a3e02564430c925db077693d681f72bbc6fd104ece395e21a9db6383cd4b5e69fcb5774c6c3c24f67464f72e670cc3bdf1fe21edec2bdf5c42fc +DIST OpenTabletDriver-v0.5.3.3.tar.gz 4052905 BLAKE2B 36c60dc87368dbe9595182ad2439447692cec8444bc005cc320d22c3f1b13e501e57ad038decd86d4c1129a44ba27cf1c3ebd4ca4bd666732a1dac755095c787 SHA512 83415abea4b67ed4af499c1edf91f2b81959a3888c9d64e4854086ade50da883c690b784fd5641307d0ac1d75ee8120090a834c3e910eb57bed92a20b4cc10b3 diff --git a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.1.ebuild b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.1.ebuild deleted file mode 100644 index 335787ea9d..0000000000 --- a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop - -MY_PN=OpenTabletDriver - -DESCRIPTION="Cross platform tablet driver (binary package)" -HOMEPAGE="https://github.com/OpenTabletDriver" -SRC_URI="https://github.com/OpenTabletDriver/OpenTabletDriver/archive/refs/tags/v${PV}.tar.gz -> OpenTabletDriver-source-${PV}.tar.gz https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${PV}/OpenTabletDriver.linux-x64.tar.gz -> OpenTabletDriver-${PV}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=" - x11-libs/libX11 - x11-libs/libXrandr - dev-libs/libevdev - x11-libs/gtk+:3 - virtual/udev - || ( dev-dotnet/dotnet-sdk-bin dev-dotnet/dotnet-runtime-bin ) -" - -QA_PREBUILT="*" - -S="${WORKDIR}/${MY_PN}" -src_install() { - local LP=opentabletdriver - local SP="otd" - - cd "${S}" || die - - # install -do root "${D}/usr/share/${PN}" - - exeinto "/usr/share/${MY_PN}" - exeopts -o root -Dm755 - - for binary in *.dll *.json; do - # install -Dm 755 -o root "$binary" -t "${D}/usr/share/${PN}" - doexe "$binary" - #fowners root "$binary" - done - - for bin in *.Daemon *.UX.Gtk *.Console; do - # install -Dm 755 -o root "$bin" -t "${D}/usr/share/${PN}" - doexe "$bin" - done - - insinto "/usr/share/${MY_PN}" - doins -r "Configurations" - - insinto "/lib/udev/rules.d" - doins -r "${S}/99-${LP}.rules" - #install -Dm 644 -o root "${S}/99-${LP}.rules" -t "${D}/usr/lib/udev/rules.d" - udevadm control --reload || die - - cd "${FILESDIR}" || die - #install -Dm 755 -o root "${SP}" -t "${D}/usr/bin" - dobin "${SP}" - #install -Dm 755 -o root "${SP}-gui" -t "${D}/usr/bin" - dobin "${SP}-gui" - - cd "${WORKDIR}/${MY_PN}-${PV}/${MY_PN}.UX/Assets" || die - doicon "otd.png" - make_desktop_entry /usr/bin/otd-gui OpenTabletDriver otd Settings -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "Please replug your tablet before attempting to use the driver" - fi - ewarn "otd-gui is currently broken while the daemon is running https://github.com/OpenTabletDriver/OpenTabletDriver/issues/1041" - #ewarn "please replug your tablet." -} diff --git a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.2.ebuild b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.3.ebuild similarity index 79% rename from x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.2.ebuild rename to x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.3.ebuild index df8188ad8b..3d39773eed 100644 --- a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.2.ebuild +++ b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.5.3.3.ebuild @@ -9,7 +9,7 @@ MY_PN=OpenTabletDriver DESCRIPTION="Cross platform tablet driver (binary package)" HOMEPAGE="https://github.com/OpenTabletDriver" -SRC_URI="https://github.com/OpenTabletDriver/OpenTabletDriver/archive/refs/tags/v${PV}.tar.gz -> OpenTabletDriver-source-${PV}.tar.gz https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${PV}/OpenTabletDriver.linux-x64.tar.gz -> OpenTabletDriver-${PV}.tar.gz" +SRC_URI="https://github.com/OpenTabletDriver/OpenTabletDriver/archive/refs/tags/v${PV}.tar.gz -> OpenTabletDriver-source-${PV}.tar.gz https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${PV}/OpenTabletDriver.linux-x64.tar.gz -> OpenTabletDriver-v${PV}.tar.gz" LICENSE="GPL-3+" SLOT="0" @@ -34,19 +34,14 @@ src_install() { cd "${S}" || die - # install -do root "${D}/usr/share/${PN}" - exeinto "/usr/share/${MY_PN}" exeopts -o root -Dm755 for binary in *.dll *.json; do - # install -Dm 755 -o root "$binary" -t "${D}/usr/share/${PN}" doexe "$binary" - #fowners root "$binary" done for bin in *.Daemon *.UX.Gtk *.Console; do - # install -Dm 755 -o root "$bin" -t "${D}/usr/share/${PN}" doexe "$bin" done @@ -55,13 +50,10 @@ src_install() { insinto "/lib/udev/rules.d" doins -r "${S}/99-${LP}.rules" - #install -Dm 644 -o root "${S}/99-${LP}.rules" -t "${D}/usr/lib/udev/rules.d" udevadm control --reload || die cd "${FILESDIR}" || die - #install -Dm 755 -o root "${SP}" -t "${D}/usr/bin" dobin "${SP}" - #install -Dm 755 -o root "${SP}-gui" -t "${D}/usr/bin" dobin "${SP}-gui" cd "${WORKDIR}/${MY_PN}-${PV}/${MY_PN}.UX/Assets" || die From 41b75cab5702eaf02d797459234d91b96b9f1ca8 Mon Sep 17 00:00:00 2001 From: James Kalyan Date: Sat, 24 Jul 2021 16:32:15 -0600 Subject: [PATCH 02/24] dev-util/rust-analyzer-bin: fixed faulty manifest Closes: https://bugs.gentoo.org/803905 Signed-off-by: James Kalyan --- dev-util/rust-analyzer-bin/Manifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rust-analyzer-bin/Manifest b/dev-util/rust-analyzer-bin/Manifest index fc1f16842e..f41b4f28e1 100644 --- a/dev-util/rust-analyzer-bin/Manifest +++ b/dev-util/rust-analyzer-bin/Manifest @@ -1 +1 @@ -DIST rust-analyzer-x86_64-unknown-linux-gnu.gz 11496414 BLAKE2B 0272981cca648bce458bbdf2764ade9e53e0d47f30e3b97848460f14b67a4def0a52673353a89844b501ac6fa9d76a5194d7cf3653bd6b37a748b9b4811c13e5 SHA512 4b7ea514e758381cc3c3264525f0904a71d55601be651f7597be8a58b36f9ccea09041ea0139c512a608cae0f1cdc998bb0682a5f023fb769da16ad482d45b24 +DIST rust-analyzer-x86_64-unknown-linux-gnu.gz 11589435 BLAKE2B 571ed4fdf5bc9f35d64b52b4b8cde7b0e0b534e0e8361e34ef51bd885d040c29c359a07de10ec338371144efc8d74f27314cfd08eb184e7fb20ded48a1d750a6 SHA512 6c15c4ff859f88917a486aa04bba1db0e28e85356814fe10e783f27946589bdb68cbb99057c889fd8011994a8e2fbafb6e0fd640c2d744144e07f07188d6761b From 2a927d935f321e7e94fd02fcacb970bb0fea16a5 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sun, 25 Jul 2021 03:07:23 +0200 Subject: [PATCH 03/24] x11-libs/libadwaita: Fixed SRC URI Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Gerben jan Dijkman --- x11-libs/libadwaita/Manifest | 2 +- x11-libs/libadwaita/libadwaita-1.0.0.ebuild | 4 +++- x11-libs/libadwaita/metadata.xml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/x11-libs/libadwaita/Manifest b/x11-libs/libadwaita/Manifest index 94a9608e24..f0098d62bb 100644 --- a/x11-libs/libadwaita/Manifest +++ b/x11-libs/libadwaita/Manifest @@ -1 +1 @@ -DIST libadwaita-main.tar.gz 491771 BLAKE2B 7ff2ef163c8cebd8bc6644279e6b6ecb8314b366b0c6bc6b643c4600debe1494e4de2f668cbea39eda83cbe83b84c9577ae7e7497cb27609c95759bc5f339f7d SHA512 1d102f2734087ee7c6ef53a58c3d07c6839f9d61103460d65bf4d759a6918449e2fe001f42cc98f97a515bd7daf23684cdee7fd5b1676c82ae353a025a01f39e +DIST libadwaita-1.0.0.tar.gz 494978 BLAKE2B 60cdf77426c3899bc60219e228eef6bd8b0d95658989b52c69f1ad0cb514437b342cc7c1e2a1c85dc2fd7296ca303bb53042d145977a7e5d09b82f4b6595767a SHA512 c13bd41eb30f6b48e19f7229ec9abfdc2e696e54083f986756c54773334c1908171013e343fe2c849453ed188b3835d80b441ed67b092c60ce7f675400206a5d diff --git a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild index 098f401414..3c1abd240e 100644 --- a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild +++ b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild @@ -6,9 +6,11 @@ VALA_USE_DEPEND="vapigen" inherit vala meson gnome2-utils xdg +COMMIT="f5932ab4250c8e709958c6e75a1a4941a5f0f386" + DESCRIPTION="Building blocks for modern GNOME applications." HOMEPAGE="https://gitlab.gnome.org/GNOME/libadwaita" -SRC_URI="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/main/libadwaita-main.tar.gz" +SRC_URI="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/${COMMIT}/libadwaita-${COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/x11-libs/libadwaita/metadata.xml b/x11-libs/libadwaita/metadata.xml index 22d3cd2a4d..d820096f88 100644 --- a/x11-libs/libadwaita/metadata.xml +++ b/x11-libs/libadwaita/metadata.xml @@ -5,6 +5,9 @@ gjdijkman@gjdwebserver.nl Gerben Jan Dijkman + + Building blocks for modern GNOME applications. + https://gitlab.gnome.org/GNOME/libadwaita https://gitlab.gnome.org/GNOME/libadwaita/-/issues From fc5f9b458396576ef821818d73f431de7701f944 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sun, 25 Jul 2021 03:16:05 +0200 Subject: [PATCH 04/24] x11-libs/libadwaita: QA Fixes Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Gerben jan Dijkman --- x11-libs/libadwaita/libadwaita-1.0.0.ebuild | 8 -------- x11-libs/libadwaita/metadata.xml | 3 --- 2 files changed, 11 deletions(-) diff --git a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild index 3c1abd240e..6f63c37c58 100644 --- a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild +++ b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild @@ -35,11 +35,3 @@ S="${WORKDIR}/$PN-${PV}" src_install() { meson_src_install } - -pkg_postinst() { - gnome2_schemas_update -} - -pkg_postrm() { - gnome2_schemas_update -} diff --git a/x11-libs/libadwaita/metadata.xml b/x11-libs/libadwaita/metadata.xml index d820096f88..22d3cd2a4d 100644 --- a/x11-libs/libadwaita/metadata.xml +++ b/x11-libs/libadwaita/metadata.xml @@ -5,9 +5,6 @@ gjdijkman@gjdwebserver.nl Gerben Jan Dijkman - - Building blocks for modern GNOME applications. - https://gitlab.gnome.org/GNOME/libadwaita https://gitlab.gnome.org/GNOME/libadwaita/-/issues From a97394e1e546f17a3cb310a86761d0efdad2181e Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sun, 25 Jul 2021 03:25:30 +0200 Subject: [PATCH 05/24] dev-libs/properties-cpp: Dropped test USE flag since it breaks Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Gerben jan Dijkman --- ...es-cpp-0.0.2-r1.ebuild => properties-cpp-0.0.2.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename dev-libs/properties-cpp/{properties-cpp-0.0.2-r1.ebuild => properties-cpp-0.0.2.ebuild} (88%) diff --git a/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild similarity index 88% rename from dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild rename to dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild index ce77b93521..23f3e75485 100644 --- a/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild +++ b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild @@ -18,12 +18,12 @@ SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.ori LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test ) mirror" +IUSE="doc" +RESTRICT="mirror" -DEPEND="dev-libs/boost +DEPEND=" + dev-libs/boost doc? ( app-doc/doxygen ) - test? ( >=dev-cpp/gtest-1.8.1 ) " S="${WORKDIR}/${MY_P}" From 7550cd50ab0c998a6b0630c1a153bb891640a475 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 25 Jul 2021 22:54:13 +0500 Subject: [PATCH 06/24] boinc.eclass: add missing slash in download URL Closes: https://bugs.gentoo.org/803902 Signed-off-by: Anna (cybertailor) Vyalkova --- eclass/boinc.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/boinc.eclass b/eclass/boinc.eclass index d16d6e250c..80281c69d4 100644 --- a/eclass/boinc.eclass +++ b/eclass/boinc.eclass @@ -56,7 +56,7 @@ get_boinc_src() { *) die "${FUNCNAME}: unknown release type '${RELEASE_TYPE}'" esac - local _SRC_URI="https://github.com/BOINC/boinc/archive" + local _SRC_URI="https://github.com/BOINC/boinc/archive/" _SRC_URI+="${RELEASE_TYPE}_release/${RELEASE_MINOR}/${RELEASE_PATCH}.tar.gz" _SRC_URI+=" -> boinc${SUFFIX}-${RELEASE_PATCH}.tar.gz" From 01a79910e0f3a02a28cb1370b18fb59f58b7c035 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 25 Jul 2021 23:10:25 +0500 Subject: [PATCH 07/24] sci-biology/geneathome: require in-source build config.h was present somehow in my /usr/include/boinc so I didn't notice the bug. Should be fixed now. Closes: https://bugs.gentoo.org/803893 Signed-off-by: Anna (cybertailor) Vyalkova --- ...athome-1.10-r1.ebuild => geneathome-1.10-r2.ebuild} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename sci-biology/geneathome/{geneathome-1.10-r1.ebuild => geneathome-1.10-r2.ebuild} (88%) diff --git a/sci-biology/geneathome/geneathome-1.10-r1.ebuild b/sci-biology/geneathome/geneathome-1.10-r2.ebuild similarity index 88% rename from sci-biology/geneathome/geneathome-1.10-r1.ebuild rename to sci-biology/geneathome/geneathome-1.10-r2.ebuild index 26315147c9..43ec787230 100644 --- a/sci-biology/geneathome/geneathome-1.10-r1.ebuild +++ b/sci-biology/geneathome/geneathome-1.10-r2.ebuild @@ -3,6 +3,7 @@ EAPI=8 +BOINC_SUBMODULE="samples/${PN}" BOINC_MASTER_URL="https://gene.disi.unitn.it/test/" BOINC_INVITATION_CODE="science@tn" BOINC_HELPTEXT=\ @@ -16,7 +17,7 @@ COMMIT="3186afba409a" DESCRIPTION="BOINC application for expanding Gene Regulatory Networks (GRN)" HOMEPAGE+=" https://bitbucket.org/francesco-asnicar/pc-boinc" SRC_URI="https://bitbucket.org/francesco-asnicar/${MY_PN}/get/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/francesco-asnicar-pc-boinc-${COMMIT}" +BOINC_S="francesco-asnicar-${MY_PN}-${COMMIT}" LICENSE="sunpro public-domain" SLOT="0" @@ -31,8 +32,11 @@ DOCS=( Readme.md ) boinc-app_add_deps +boinc_require_source 7.16.16 +boinc_enable_autotools + src_prepare() { - default + boinc_src_prepare # error: inlining failed in call to ‘always_inline’ ‘int fprintf(FILE*, const char*, ...)’: target specific option mismatch sed -i src/main.cpp \ @@ -42,7 +46,7 @@ src_prepare() { src_compile() { tc-export CC CXX - emake BOINC_DIR=/usr/include/boinc -C src + emake -C src } src_test() { From 0c995ec7d11c6abf50ca70b77c0e24b97bda83dd Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 25 Jul 2021 20:24:30 +0200 Subject: [PATCH 08/24] sys-cluster/sionlibl: initial import Signed-off-by: Alessandro Barbieri --- sys-cluster/sionlibl/Manifest | 1 + .../files/sionlibl-respect-flags.patch | 120 ++++++++++++++++++ sys-cluster/sionlibl/metadata.xml | 34 +++++ sys-cluster/sionlibl/sionlibl-1.7.7.ebuild | 118 +++++++++++++++++ 4 files changed, 273 insertions(+) create mode 100644 sys-cluster/sionlibl/Manifest create mode 100644 sys-cluster/sionlibl/files/sionlibl-respect-flags.patch create mode 100644 sys-cluster/sionlibl/metadata.xml create mode 100644 sys-cluster/sionlibl/sionlibl-1.7.7.ebuild diff --git a/sys-cluster/sionlibl/Manifest b/sys-cluster/sionlibl/Manifest new file mode 100644 index 0000000000..8ce6ed0a66 --- /dev/null +++ b/sys-cluster/sionlibl/Manifest @@ -0,0 +1 @@ +DIST sionlibl-1.7.7.tar.gz 490515 BLAKE2B 76971dd6d80222144b40da345d58311911aab09c6a5250b85d4a2731d2f93cdbd39d87dd6bbafdeaba88f06603105076267f6956417916f118ec45e07fa59269 SHA512 6ef46a0905552c558595bf6b72225a290d73dc87fa33c9862de5e4bd4d683792437646f7b4ab8a463b4a50d1b4a79aec96a66e577e815de3f23e9274be2681af diff --git a/sys-cluster/sionlibl/files/sionlibl-respect-flags.patch b/sys-cluster/sionlibl/files/sionlibl-respect-flags.patch new file mode 100644 index 0000000000..a7ac351ea7 --- /dev/null +++ b/sys-cluster/sionlibl/files/sionlibl-respect-flags.patch @@ -0,0 +1,120 @@ +--- a/config/determine-cc.sh ++++ b/config/determine-cc.sh +@@ -1,7 +1,6 @@ + #!/bin/sh + # determine what compiler is behind "cc" (and presumably "CC" and "ftn") wrapper + +-CC=`which cc 2>/dev/null` + COMP= + if [ -z "$CC" ]; then + echo "No 'cc' located!" +--- a/config/select-compiler.sh ++++ b/config/select-compiler.sh +@@ -9,7 +9,7 @@ + CPS="" + COMP="" + +-GNU=`which gcc 2> /dev/null` ++GNU="${CC}" + if [ -n "${GNU}" ] + then + NCPS=`expr ${NCPS} + 1` +--- a/config/select-mpi.sh ++++ b/config/select-mpi.sh +@@ -76,7 +76,6 @@ + if [ -z "${MPIS}" ]; then MPIS="${MPI}"; else MPIS="${MPIS}|${MPI}"; fi + fi + +-MPICC=`which mpicc 2> /dev/null` + if [ -n "${MPICC}" ] + then + FMPI="" +@@ -86,7 +85,7 @@ + MPIROOTDIR1=`dirname ${MBINDIR}` + + echo "#include " > conftest.c +- mpicc -E conftest.c | grep '/mpi.h"' | head -1 > mpiconf.txt ++ "${MPICC}" -E conftest.c | grep '/mpi.h"' | head -1 > mpiconf.txt + MINCDIR=`cat mpiconf.txt | sed -e 's#^.* "##' -e 's#/mpi.h".*##'` + if [ -n "${MINCDIR}" ] + then +--- a/mf/Makefile.defs.linux-gomp ++++ b/mf/Makefile.defs.linux-gomp +@@ -23,24 +23,19 @@ + #------------------------------------------------------------------------------ + # SIONlib General Settings + #------------------------------------------------------------------------------ +-OPTFLAGS = -g -O0 -Wall ++CFLAGS += -std=c99 $(PFLAG) $(OPTFLAGS) -fPIC + +-CC = gcc +-CFLAGS = -std=c99 $(PFLAG) $(OPTFLAGS) -fPIC ++CXXFLAGS += $(PFLAG) $(OPTFLAGS) -fPIC + +-CXX = g++ +-CXXFLAGS = $(PFLAG) $(OPTFLAGS) -O3 +- +-F77 = gfortran +-FFLAGS = $(PFLAG) $(OPTFLAGS) ++FFLAGS += $(PFLAG) $(OPTFLAGS) -fPIC + + F90 = $(F77) +-F90FLAGS = $(PFLAG) $(OPTFLAGS) -ffree-form ++F90FLAGS += $(PFLAG) $(OPTFLAGS) -ffree-form -fPIC $(FCFLAGS) + + FPP = + FDOPT = -D + +-LDFLAGS = $(PFLAG) $(OPTFLAGS) $(HINTSLIB) ++LDFLAGS += $(PFLAG) $(OPTFLAGS) $(HINTSLIB) + UTILLIB = + FOBASE = pomp_fwrapper_base.o + +@@ -101,10 +96,6 @@ + #------------------------------------------------------------------------------ + + MPIENABLE = 1 +-MPICC = mpicc +-MPICXX = mpicxx +-MPIF77 = mpif77 +-MPIF90 = mpif90 + MPILIB = -lmpich + PMPILIB = -lpmpich + #PMPILIB = # MPICH2 +@@ -139,8 +130,7 @@ + #------------------------------------------------------------------------------ + + SZLIB = szlib +-SZLIB_OPTFLAGS = -O3 +-SZLIB_CFLAGS = -I$(TOPDIR)/utils/szlib -DELG_COMPRESSED -DCUBE_COMPRESSED ++SZLIB_CFLAGS = -I$(TOPDIR)/utils/szlib -DELG_COMPRESSED -DCUBE_COMPRESSED $(CFLAGS) + SZLIB_LIBPATH = -L$(TOPDIR)/utils/szlib + SZLIB_LIB = -lsc.z + +--- a/src/fortraninterface/Makefile ++++ b/src/fortraninterface/Makefile +@@ -121,21 +122,21 @@ + $(CPP) $(F90FLAGS) $(F90FLAGS_CPP) $(F90MPIFLAGS) -P -E -I ../lib sion_f90_mpi.F90 > sion_f90_mpi.f90 + sion_f90_mpi.mod : sion_f90_mpi.o + sion_f90_mpi.o : sion_f90_mpi.f90 sion_f90.mod $(SION_HDRS) +- $(MPIF90) $(F90FLAGS) -c sion_f90_mpi.f90 ++ $(MPIF90) $(F90FLAGS) $(F90MPIFLAGS) -c sion_f90_mpi.f90 + + # F90 Interface (OMP) + sion_f90_omp.f90: sion_f90_omp.F90 + $(CPP) $(F90OMPFLAGS) $(F90FLAGS) $(F90FLAGS_CPP) -P -E -I ../lib sion_f90_omp.F90 > sion_f90_omp.f90 + sion_f90_omp.mod : sion_f90_omp.o + sion_f90_omp.o : sion_f90_omp.f90 sion_f90.mod $(SION_HDRS) +- $(OMPF90) $(F90FLAGS) -c sion_f90_omp.f90 ++ $(OMPF90) $(F90FLAGS) $(F90OMPFLAGS) -c sion_f90_omp.f90 + + # F90 Interface (OMPI) + sion_f90_ompi.f90: sion_f90_ompi.F90 $(SION_HDRS) + $(CPP) $(F90MPIFLAGS) $(F90OMPFLAGS) $(F90FLAGS) $(F90FLAGS_CPP) -P -E -I ../lib sion_f90_ompi.F90 > sion_f90_ompi.f90 + sion_f90_ompi.mod : sion_f90_ompi.o + sion_f90_ompi.o : sion_f90_ompi.f90 $(SION_HDRS) +- $(MPIF90) $(F90FLAGS) -c sion_f90_ompi.f90 ++ $(MPIF90) $(F90FLAGS) $(F90MPIFLAGS) -c sion_f90_ompi.f90 + + + diff --git a/sys-cluster/sionlibl/metadata.xml b/sys-cluster/sionlibl/metadata.xml new file mode 100644 index 0000000000..55c6754ef0 --- /dev/null +++ b/sys-cluster/sionlibl/metadata.xml @@ -0,0 +1,34 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +SIONlib is a library for writing and reading data from several thousands of parallel tasks into/from one or a small number of physical files. Only the open and close functions are collective while file access can be performed independently. + +SIONlib can be used as a replacement for standard I/O APIs (e.g. POSIX) that are used to access distinct files from every parallel process. SIONlib will bundle the data into one or few files in a coordinated fashion in order to sidestep sequentialising mechanism in the file system. At the same time, the task-per-file picture is maintained for the application, every process has access to its logical file only. File access is performed using SIONlib equivalents to standard C-I/O functionality (fwrite becomes sion_write, fseek becomes sion_seek, etc.) which have similar semantics as their C counterparts. + +Internally, the physical files are sub-divided into sequences of blocks, which themselves contain one chunk of data belonging to every logical file. In case the amount to be written to a file is known up front, it can optionally be specified when opening the file and the sequence of blocks collapses into a single block with one chunk per task containing all of its data. If a chunk size cannot be specified ahead of time, a sensible default is chosen and reads and writes that cross chunk boundaries are handled transparently by SIONlib. + +SIONlib also uses information about the block size of the underlying file system, because access to the same block from different tasks often leads to contention. + +Both, the estimated chunk size and file system block size are used to align individual chunks with file system blocks. Ensuring contention-free access to file system blocks enables efficient parallel writing and reading. + +SIONlib provides two different interfaces: one for parallel access (with implementations for different parallel programming technologies such as MPI, OpenMP and hybrid MPI+OpenMP) and one for sequential access which is also used internally by the SIONlib utilities. + + + + Disable C++ support + enable SIONlib debug + Enable Fortran support + enable mpi + enable python support + enable hybrid openmp mpi + enable openmp + Enable compilation of parutils (used for benchmarking) + configure SIONlib to use pthreads for locking + + + diff --git a/sys-cluster/sionlibl/sionlibl-1.7.7.ebuild b/sys-cluster/sionlibl/sionlibl-1.7.7.ebuild new file mode 100644 index 0000000000..45b166425d --- /dev/null +++ b/sys-cluster/sionlibl/sionlibl-1.7.7.ebuild @@ -0,0 +1,118 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_CONFIG_NAME="doxy" +FORTRAN_NEEDED="fortran" +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit docs flag-o-matic fortran-2 python-any-r1 toolchain-funcs + +DESCRIPTION="Scalable I/O library for parallel access to task-local files" +HOMEPAGE="https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html" +SRC_URI="http://apps.fz-juelich.de/jsc/sionlib/download.php?version=${PV}l -> ${P}.tar.gz" +S="${WORKDIR}/sionlib" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+cxx debug doc examples +fortran +mpi +ompi +openmp +parutils +pthreads python" +#TODO: cuda sionfwd msa +#--enable-sionfwd=/path/to/sionfwd +#--msa=(hostname-regex|deep-est-sdv)] MSA aware collective operations for the given system + +PATCHES=( "${FILESDIR}/${PN}-respect-flags.patch" ) + +RDEPEND=" + mpi? ( virtual/mpi ) + ompi? ( + || ( sys-devel/gcc:*[openmp] sys-libs/libomp ) + virtual/mpi + ) + openmp? ( || ( sys-devel/gcc:*[openmp] sys-libs/libomp ) ) +" +DEPEND=" + ${RDEPEND} + ${PYTHON_DEPS} +" + +pkg_setup() { + FORTRAN_NEED_OPENMP=0 + use openmp && FORTRAN_NEED_OPENMP=1 + use ompi && FORTRAN_NEED_OPENMP=1 + + fortran-2_pkg_setup +} + +src_prepare() { + default + sed 's/CXXFLAGS = $(CXXFLAGS)/CXXFLAGS = /' -i test/serial/Makefile || die + sed 's/`gcc/`${CC}/' -i config/determine-compiler-version.sh || die +} + +src_configure() { + tc-export AR CC CXX F77 FC + export MPICC=/usr/bin/mpicc + export MPICXX=/usr/bin/mpicxx + export MPIF77=/usr/bin/mpif77 + export MPIF90=/usr/bin/mpif90 + export F90=$(tc-getFC) + export OMPF77=$(tc-getF77) + export OMPF90=$(tc-getFC) + + append-fflags -fallow-argument-mismatch + + local myconf=( + --disable-mic + --prefix="${T}/prefix/usr" + ) + + #custom configure? + use cxx || myconf+=( "--disable-cxx" ) + use fortran || myconf+=( "--disable-fortran" ) + use mpi || myconf+=( "--disable-mpi" ) + use ompi || myconf+=( "--disable-ompi" ) + use openmp || myconf+=( "--disable-omp" ) + use parutils || myconf+=( "--disable-parutils" ) + use pthreads || myconf+=( "--disable-pthreads" ) + + use debug && myconf+=( "--enable-debug" ) + use python && myconf+=( "--enable-python=3" ) + + ./configure "${myconf[@]}" || die +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + emake C_AR=$(tc-getAR) F90=$(tc-getFC) + docs_compile +} + +src_install() { + mkdir -p "${T}/prefix/usr/share/doc/${PF}" || die + default + + if use examples ; then + mv "${T}/prefix/usr/examples" "${T}/prefix/usr/share/doc/${PF}/" || die + else + rm -r "${T}/prefix/usr/examples" || die + fi + + # move 64 bit libraries to lib64 + libs64=( "${T}"/prefix/usr/lib/*64* ) + if [[ ${#libs64[@]} -gt 0 ]]; then + mkdir "${T}/prefix/usr/lib64" || die + for l in "${libs64[@]}" ; do + mv "${l}" "${T}/prefix/usr/lib64/" || die + done + fi + + rsync -ravXHA "${T}/prefix/usr" "${ED}/" || die + docompress -x "/usr/share/doc/${PF}/examples" + + #TODO: build shared libs + #find "${ED}" -name '*.a' -delete || die + find "${ED}" -name '*.la' -delete || die +} From c27e0053fa68318c60dfb94d9c2728abd5086b35 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 25 Jul 2021 22:17:19 +0200 Subject: [PATCH 09/24] sys-cluster/*: merge sionlibl with sionlib Signed-off-by: Alessandro Barbieri --- sys-cluster/sionlib/Manifest | 3 +- sys-cluster/sionlib/files/respect-flags.patch | 134 ------------------ .../files/sionlib-respect-flags.patch} | 0 sys-cluster/sionlib/metadata.xml | 3 +- sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild | 117 --------------- .../sionlib-1.7.7.ebuild} | 9 +- sys-cluster/sionlibl/Manifest | 1 - sys-cluster/sionlibl/metadata.xml | 34 ----- 8 files changed, 10 insertions(+), 291 deletions(-) delete mode 100644 sys-cluster/sionlib/files/respect-flags.patch rename sys-cluster/{sionlibl/files/sionlibl-respect-flags.patch => sionlib/files/sionlib-respect-flags.patch} (100%) delete mode 100644 sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild rename sys-cluster/{sionlibl/sionlibl-1.7.7.ebuild => sionlib/sionlib-1.7.7.ebuild} (91%) delete mode 100644 sys-cluster/sionlibl/Manifest delete mode 100644 sys-cluster/sionlibl/metadata.xml diff --git a/sys-cluster/sionlib/Manifest b/sys-cluster/sionlib/Manifest index 9046f5a2b1..8fc118f36b 100644 --- a/sys-cluster/sionlib/Manifest +++ b/sys-cluster/sionlib/Manifest @@ -1 +1,2 @@ -DIST sionlib-1.7.6.tar.gz 486418 BLAKE2B 885eb2012ec6da031f5ae8b093ee4f3e5bbe31c9b24a11576f2ad01b32ddd8a85051565034f0e6c756af51409fb89f9c79f80b35c8337f2dc7912cb9e54d909b SHA512 afdd8520f489bc940edc51ffa636a25cad778de07bfbb21d2bd2ab767e57b16044990d85ef44d2e6482a376196f5c6a2a6f1a71556dd987f8094dd396a971d1c +DIST sionlib-1.7.7.tar.gz 489080 BLAKE2B 1ffd06d1b245034b28700af1249135347cdd731a7af23ad96a27b5b5a11d64d9a67249fcd1c44cea43face1066e7ae1d59681e84cef2041e18f02e0c3e8f70ee SHA512 f270467e09893adf1af6103557365acbc9a3e73fe08716a21de6f59b25be9b187ee1c1ec1d878a9599e735f98da470b5e2e184774c27ed0ff0c330c5bf0a5677 +DIST sionlibl-1.7.7.tar.gz 490515 BLAKE2B 76971dd6d80222144b40da345d58311911aab09c6a5250b85d4a2731d2f93cdbd39d87dd6bbafdeaba88f06603105076267f6956417916f118ec45e07fa59269 SHA512 6ef46a0905552c558595bf6b72225a290d73dc87fa33c9862de5e4bd4d683792437646f7b4ab8a463b4a50d1b4a79aec96a66e577e815de3f23e9274be2681af diff --git a/sys-cluster/sionlib/files/respect-flags.patch b/sys-cluster/sionlib/files/respect-flags.patch deleted file mode 100644 index 9ff5bd3845..0000000000 --- a/sys-cluster/sionlib/files/respect-flags.patch +++ /dev/null @@ -1,134 +0,0 @@ -diff '--color=auto' -ru a/config/determine-cc.sh b/config/determine-cc.sh ---- a/config/determine-cc.sh 2021-04-25 01:09:35.175990108 +0200 -+++ b/config/determine-cc.sh 2021-04-25 01:10:02.876433713 +0200 -@@ -1,7 +1,6 @@ - #!/bin/sh - # determine what compiler is behind "cc" (and presumably "CC" and "ftn") wrapper - --CC=`which cc 2>/dev/null` - COMP= - if [ -z "$CC" ]; then - echo "No 'cc' located!" -diff '--color=auto' -ru a/config/select-compiler.sh b/config/select-compiler.sh ---- a/config/select-compiler.sh 2021-04-25 01:09:35.175990108 +0200 -+++ b/config/select-compiler.sh 2021-04-25 01:10:26.882817842 +0200 -@@ -9,7 +9,7 @@ - CPS="" - COMP="" - --GNU=`which gcc 2> /dev/null` -+GNU="${CC}" - if [ -n "${GNU}" ] - then - NCPS=`expr ${NCPS} + 1` -diff '--color=auto' -ru a/config/select-mpi.sh b/config/select-mpi.sh ---- a/config/select-mpi.sh 2021-04-25 01:09:35.175990108 +0200 -+++ b/config/select-mpi.sh 2021-04-25 01:12:41.269962840 +0200 -@@ -76,7 +76,6 @@ - if [ -z "${MPIS}" ]; then MPIS="${MPI}"; else MPIS="${MPIS}|${MPI}"; fi - fi - --MPICC=`which mpicc 2> /dev/null` - if [ -n "${MPICC}" ] - then - FMPI="" -@@ -86,7 +85,7 @@ - MPIROOTDIR1=`dirname ${MBINDIR}` - - echo "#include " > conftest.c -- mpicc -E conftest.c | grep '/mpi.h"' | head -1 > mpiconf.txt -+ "${MPICC}" -E conftest.c | grep '/mpi.h"' | head -1 > mpiconf.txt - MINCDIR=`cat mpiconf.txt | sed -e 's#^.* "##' -e 's#/mpi.h".*##'` - if [ -n "${MINCDIR}" ] - then -diff '--color=auto' -ru a/mf/Makefile.defs.linux-gomp b/mf/Makefile.defs.linux-gomp ---- a/mf/Makefile.defs.linux-gomp 2021-04-25 01:09:35.119989211 +0200 -+++ b/mf/Makefile.defs.linux-gomp 2021-04-25 01:52:32.378951608 +0200 -@@ -23,24 +23,19 @@ - #------------------------------------------------------------------------------ - # SIONlib General Settings - #------------------------------------------------------------------------------ --OPTFLAGS = -g -O0 -Wall -+CFLAGS += -std=c99 $(PFLAG) $(OPTFLAGS) -fPIC - --CC = gcc --CFLAGS = -std=c99 $(PFLAG) $(OPTFLAGS) -fPIC -+CXXFLAGS += $(PFLAG) $(OPTFLAGS) -fPIC - --CXX = g++ --CXXFLAGS = $(PFLAG) $(OPTFLAGS) -O3 -- --F77 = gfortran --FFLAGS = $(PFLAG) $(OPTFLAGS) -+FFLAGS += $(PFLAG) $(OPTFLAGS) -fPIC - - F90 = $(F77) --F90FLAGS = $(PFLAG) $(OPTFLAGS) -ffree-form -+F90FLAGS += $(PFLAG) $(OPTFLAGS) -ffree-form -fPIC $(FCFLAGS) - - FPP = - FDOPT = -D - --LDFLAGS = $(PFLAG) $(OPTFLAGS) $(HINTSLIB) -+LDFLAGS += $(PFLAG) $(OPTFLAGS) $(HINTSLIB) - UTILLIB = - FOBASE = pomp_fwrapper_base.o - -@@ -101,10 +96,6 @@ - #------------------------------------------------------------------------------ - - MPIENABLE = 1 --MPICC = mpicc --MPICXX = mpicxx --MPIF77 = mpif77 --MPIF90 = mpif90 - MPILIB = -lmpich - PMPILIB = -lpmpich - #PMPILIB = # MPICH2 -@@ -139,8 +130,7 @@ - #------------------------------------------------------------------------------ - - SZLIB = szlib --SZLIB_OPTFLAGS = -O3 --SZLIB_CFLAGS = -I$(TOPDIR)/utils/szlib -DELG_COMPRESSED -DCUBE_COMPRESSED -+SZLIB_CFLAGS = -I$(TOPDIR)/utils/szlib -DELG_COMPRESSED -DCUBE_COMPRESSED $(CFLAGS) - SZLIB_LIBPATH = -L$(TOPDIR)/utils/szlib - SZLIB_LIB = -lsc.z - -diff '--color=auto' -ru a/src/fortraninterface/Makefile b/src/fortraninterface/Makefile ---- a/src/fortraninterface/Makefile 2021-04-25 01:09:35.141989563 +0200 -+++ b/src/fortraninterface/Makefile 2021-04-25 01:23:48.055976593 +0200 -@@ -109,7 +110,7 @@ - $(CPP) $(F90FLAGS) $(F90FLAGS_CPP) -P -E -I ../lib sion_f90.F90 > sion_f90.f90 - sion_f90.mod : sion_f90.o - sion_f90.o : sion_f90.f90 sion_f77.h $(SION_HDRS) -- $(F90) -c sion_f90.f90 -+ $(F90) $(F90FLAGS) -c sion_f90.f90 - - sion_f90_omp.o: sion_f90.o - sion_f90_mpi.o: sion_f90.o -@@ -121,21 +122,21 @@ - $(CPP) $(F90FLAGS) $(F90FLAGS_CPP) $(F90MPIFLAGS) -P -E -I ../lib sion_f90_mpi.F90 > sion_f90_mpi.f90 - sion_f90_mpi.mod : sion_f90_mpi.o - sion_f90_mpi.o : sion_f90_mpi.f90 sion_f90.mod $(SION_HDRS) -- $(MPIF90) -c sion_f90_mpi.f90 -+ $(MPIF90) $(F90FLAGS) $(F90MPIFLAGS) -c sion_f90_mpi.f90 - - # F90 Interface (OMP) - sion_f90_omp.f90: sion_f90_omp.F90 - $(CPP) $(F90OMPFLAGS) $(F90FLAGS) $(F90FLAGS_CPP) -P -E -I ../lib sion_f90_omp.F90 > sion_f90_omp.f90 - sion_f90_omp.mod : sion_f90_omp.o - sion_f90_omp.o : sion_f90_omp.f90 sion_f90.mod $(SION_HDRS) -- $(OMPF90) -c sion_f90_omp.f90 -+ $(OMPF90) $(F90FLAGS) $(F90OMPFLAGS) -c sion_f90_omp.f90 - - # F90 Interface (OMPI) - sion_f90_ompi.f90: sion_f90_ompi.F90 $(SION_HDRS) - $(CPP) $(F90MPIFLAGS) $(F90OMPFLAGS) $(F90FLAGS) $(F90FLAGS_CPP) -P -E -I ../lib sion_f90_ompi.F90 > sion_f90_ompi.f90 - sion_f90_ompi.mod : sion_f90_ompi.o - sion_f90_ompi.o : sion_f90_ompi.f90 $(SION_HDRS) -- $(MPIF90) -c sion_f90_ompi.f90 -+ $(MPIF90) $(F90FLAGS) $(F90MPIFLAGS) -c sion_f90_ompi.f90 - - - diff --git a/sys-cluster/sionlibl/files/sionlibl-respect-flags.patch b/sys-cluster/sionlib/files/sionlib-respect-flags.patch similarity index 100% rename from sys-cluster/sionlibl/files/sionlibl-respect-flags.patch rename to sys-cluster/sionlib/files/sionlib-respect-flags.patch diff --git a/sys-cluster/sionlib/metadata.xml b/sys-cluster/sionlib/metadata.xml index 55c6754ef0..df4593cce9 100644 --- a/sys-cluster/sionlib/metadata.xml +++ b/sys-cluster/sionlib/metadata.xml @@ -20,7 +20,7 @@ SIONlib provides two different interfaces: one for parallel access (with impleme - Disable C++ support + Enable C++ support enable SIONlib debug Enable Fortran support enable mpi @@ -30,5 +30,6 @@ SIONlib provides two different interfaces: one for parallel access (with impleme Enable compilation of parutils (used for benchmarking) configure SIONlib to use pthreads for locking + Build the tooling version instead diff --git a/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild b/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild deleted file mode 100644 index a63c7bc0f3..0000000000 --- a/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DOCS_BUILDER="doxygen" -DOCS_CONFIG_NAME="doxy" -FORTRAN_NEEDED="fortran" -PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) -inherit docs flag-o-matic fortran-2 python-any-r1 toolchain-funcs - -DESCRIPTION="Scalable I/O library for parallel access to task-local files" -HOMEPAGE="https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html" -SRC_URI="http://apps.fz-juelich.de/jsc/sionlib/download.php?version=${PV} -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+cxx debug doc examples +fortran +mpi +ompi +openmp +parutils +pthreads python" -#TODO: cuda sionfwd msa -#--enable-sionfwd=/path/to/sionfwd -#--msa=(hostname-regex|deep-est-sdv)] MSA aware collective operations for the given system - -PATCHES=( "${FILESDIR}/respect-flags.patch" ) - -RDEPEND=" - mpi? ( virtual/mpi ) - ompi? ( - || ( sys-devel/gcc:*[openmp] sys-libs/libomp ) - virtual/mpi - ) - openmp? ( || ( sys-devel/gcc:*[openmp] sys-libs/libomp ) ) -" -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} -" -S="${WORKDIR}/${PN}" - -pkg_setup() { - FORTRAN_NEED_OPENMP=0 - use openmp && FORTRAN_NEED_OPENMP=1 - use ompi && FORTRAN_NEED_OPENMP=1 - - fortran-2_pkg_setup -} - -src_prepare() { - default - sed 's/CXXFLAGS = $(CXXFLAGS)/CXXFLAGS = /' -i test/serial/Makefile || die - sed 's/`gcc/`${CC}/' -i config/determine-compiler-version.sh || die -} - -src_configure() { - tc-export AR CC CXX F77 FC - export MPICC=/usr/bin/mpicc - export MPICXX=/usr/bin/mpicxx - export MPIF77=/usr/bin/mpif77 - export MPIF90=/usr/bin/mpif90 - export F90=$(tc-getFC) - export OMPF77=$(tc-getF77) - export OMPF90=$(tc-getFC) - - append-fflags -fallow-argument-mismatch - - local myconf=( - --disable-mic - --prefix="${T}/prefix/usr" - ) - - #custom configure? - use cxx || myconf+=( "--disable-cxx" ) - use fortran || myconf+=( "--disable-fortran" ) - use mpi || myconf+=( "--disable-mpi" ) - use ompi || myconf+=( "--disable-ompi" ) - use openmp || myconf+=( "--disable-omp" ) - use parutils || myconf+=( "--disable-parutils" ) - use pthreads || myconf+=( "--disable-pthreads" ) - - use debug && myconf+=( "--enable-debug" ) - use python && myconf+=( "--enable-python=3" ) - - ./configure "${myconf[@]}" || die -} - -src_compile() { - export VARTEXFONTS="${T}/fonts" - emake C_AR=$(tc-getAR) F90=$(tc-getFC) - docs_compile -} - -src_install() { - mkdir -p "${T}/prefix/usr/share/doc/${PF}" || die - default - - if use examples ; then - mv "${T}/prefix/usr/examples" "${T}/prefix/usr/share/doc/${PF}/" || die - else - rm -r "${T}/prefix/usr/examples" || die - fi - - # move 64 bit libraries to lib64 - libs64=( "${T}"/prefix/usr/lib/*64* ) - if [[ ${#libs64[@]} -gt 0 ]]; then - mkdir "${T}/prefix/usr/lib64" || die - for l in "${libs64[@]}" ; do - mv "${l}" "${T}/prefix/usr/lib64/" || die - done - fi - - rsync -ravXHA "${T}/prefix/usr" "${ED}/" || die - docompress -x "/usr/share/doc/${PF}/examples" - - #TODO: build shared libs - #find "${ED}" -name '*.a' -delete || die - find "${ED}" -name '*.la' -delete || die -} diff --git a/sys-cluster/sionlibl/sionlibl-1.7.7.ebuild b/sys-cluster/sionlib/sionlib-1.7.7.ebuild similarity index 91% rename from sys-cluster/sionlibl/sionlibl-1.7.7.ebuild rename to sys-cluster/sionlib/sionlib-1.7.7.ebuild index 45b166425d..e00956e3af 100644 --- a/sys-cluster/sionlibl/sionlibl-1.7.7.ebuild +++ b/sys-cluster/sionlib/sionlib-1.7.7.ebuild @@ -12,13 +12,16 @@ inherit docs flag-o-matic fortran-2 python-any-r1 toolchain-funcs DESCRIPTION="Scalable I/O library for parallel access to task-local files" HOMEPAGE="https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html" -SRC_URI="http://apps.fz-juelich.de/jsc/sionlib/download.php?version=${PV}l -> ${P}.tar.gz" -S="${WORKDIR}/sionlib" +SRC_URI=" + !tools? ( http://apps.fz-juelich.de/jsc/sionlib/download.php?version=${PV} -> ${P}.tar.gz ) + tools? ( http://apps.fz-juelich.de/jsc/sionlib/download.php?version=${PV}l -> ${PN}l-${PV}.tar.gz ) +" +S="${WORKDIR}/${PN}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="+cxx debug doc examples +fortran +mpi +ompi +openmp +parutils +pthreads python" +IUSE="+cxx debug doc examples +fortran +mpi +ompi +openmp +parutils +pthreads python tools" #TODO: cuda sionfwd msa #--enable-sionfwd=/path/to/sionfwd #--msa=(hostname-regex|deep-est-sdv)] MSA aware collective operations for the given system diff --git a/sys-cluster/sionlibl/Manifest b/sys-cluster/sionlibl/Manifest deleted file mode 100644 index 8ce6ed0a66..0000000000 --- a/sys-cluster/sionlibl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sionlibl-1.7.7.tar.gz 490515 BLAKE2B 76971dd6d80222144b40da345d58311911aab09c6a5250b85d4a2731d2f93cdbd39d87dd6bbafdeaba88f06603105076267f6956417916f118ec45e07fa59269 SHA512 6ef46a0905552c558595bf6b72225a290d73dc87fa33c9862de5e4bd4d683792437646f7b4ab8a463b4a50d1b4a79aec96a66e577e815de3f23e9274be2681af diff --git a/sys-cluster/sionlibl/metadata.xml b/sys-cluster/sionlibl/metadata.xml deleted file mode 100644 index 55c6754ef0..0000000000 --- a/sys-cluster/sionlibl/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - lssndrbarbieri@gmail.com - Alessandro Barbieri - - -SIONlib is a library for writing and reading data from several thousands of parallel tasks into/from one or a small number of physical files. Only the open and close functions are collective while file access can be performed independently. - -SIONlib can be used as a replacement for standard I/O APIs (e.g. POSIX) that are used to access distinct files from every parallel process. SIONlib will bundle the data into one or few files in a coordinated fashion in order to sidestep sequentialising mechanism in the file system. At the same time, the task-per-file picture is maintained for the application, every process has access to its logical file only. File access is performed using SIONlib equivalents to standard C-I/O functionality (fwrite becomes sion_write, fseek becomes sion_seek, etc.) which have similar semantics as their C counterparts. - -Internally, the physical files are sub-divided into sequences of blocks, which themselves contain one chunk of data belonging to every logical file. In case the amount to be written to a file is known up front, it can optionally be specified when opening the file and the sequence of blocks collapses into a single block with one chunk per task containing all of its data. If a chunk size cannot be specified ahead of time, a sensible default is chosen and reads and writes that cross chunk boundaries are handled transparently by SIONlib. - -SIONlib also uses information about the block size of the underlying file system, because access to the same block from different tasks often leads to contention. - -Both, the estimated chunk size and file system block size are used to align individual chunks with file system blocks. Ensuring contention-free access to file system blocks enables efficient parallel writing and reading. - -SIONlib provides two different interfaces: one for parallel access (with implementations for different parallel programming technologies such as MPI, OpenMP and hybrid MPI+OpenMP) and one for sequential access which is also used internally by the SIONlib utilities. - - - - Disable C++ support - enable SIONlib debug - Enable Fortran support - enable mpi - enable python support - enable hybrid openmp mpi - enable openmp - Enable compilation of parutils (used for benchmarking) - configure SIONlib to use pthreads for locking - - - From 57144bcf8538ee98ed6d36caad7dbd96919ea7ad Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:20:38 +0200 Subject: [PATCH 10/24] sys-cluster/otf2: initial import Signed-off-by: Alessandro Barbieri --- sys-cluster/otf2/Manifest | 1 + sys-cluster/otf2/metadata.xml | 11 +++++++ sys-cluster/otf2/otf2-2.3.ebuild | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 sys-cluster/otf2/Manifest create mode 100644 sys-cluster/otf2/metadata.xml create mode 100644 sys-cluster/otf2/otf2-2.3.ebuild diff --git a/sys-cluster/otf2/Manifest b/sys-cluster/otf2/Manifest new file mode 100644 index 0000000000..4ff1ad5251 --- /dev/null +++ b/sys-cluster/otf2/Manifest @@ -0,0 +1 @@ +DIST otf2-2.3.tar.gz 5321226 BLAKE2B a217ac2bcc0fa777dccc99a0f90a143b3cfea66ff717cfe66f68d2d59407023b1f0e419d9c4275d27f201fa3df0c5a89d4730052039144b02a2136e390e85fbb SHA512 c27c768f178e512c46683667d70bc2ad3871b17b8978356b13917d3fc12b49b4ee5d5767e9e10a247bbc7f2e911aaae7455bfec8f36704236d55c16454fa0a4c diff --git a/sys-cluster/otf2/metadata.xml b/sys-cluster/otf2/metadata.xml new file mode 100644 index 0000000000..0c04defaed --- /dev/null +++ b/sys-cluster/otf2/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + Enable sys-cluster/sionlib support + + diff --git a/sys-cluster/otf2/otf2-2.3.ebuild b/sys-cluster/otf2/otf2-2.3.ebuild new file mode 100644 index 0000000000..078fda8688 --- /dev/null +++ b/sys-cluster/otf2/otf2-2.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit python-single-r1 + +DESCRIPTION="highly scalable, memory efficient event trace data format" +HOMEPAGE="https://www.vi-hps.org/projects/score-p" +SRC_URI="http://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug sionlib test" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') + + sionlib? ( sys-cluster/sionlib[tools] ) +" +DEPEND="${RDEPEND}" + +#RESTRICT="!test? ( test )" +RESTRICT="test" #tests are failing +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_configure() { + local myconf=( + --disable-platform-mic + --disable-static + --enable-shared + + $(use_enable test backend-test-runs) + $(use_enable debug) + $(use_with sionlib) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} From 7ae87d35bd9d2e79a7732d9ec76d2c952e81c972 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:21:27 +0200 Subject: [PATCH 11/24] TODO.md: remove otf2 Signed-off-by: Alessandro Barbieri --- TODO.md | 1 - 1 file changed, 1 deletion(-) diff --git a/TODO.md b/TODO.md index b2262ee591..6b10c4721c 100644 --- a/TODO.md +++ b/TODO.md @@ -16,7 +16,6 @@ C * [the-omega-project](https://github.com/davewathaverford/the-omega-project) * [xpmem](https://github.com/hjelmn/xpmem) * [sandia openshmem](https://github.com/Sandia-OpenSHMEM/SOS) -* [otf2](https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/docs/otf2-2.2/html/index.html) * [dyninst](https://github.com/dyninst/dyninst) C++ From 3067d4b62465187667888adc9376218d937cbc15 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:46:53 +0200 Subject: [PATCH 12/24] CONTRIBUTING.md: add list of undesired python dependencies Closes: https://github.com/gentoo/guru/issues/11 Signed-off-by: Alessandro Barbieri --- CONTRIBUTING.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6579620e73..0fcc707081 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,7 +32,22 @@ Please don't use symlinks in the repository (e.g. foobar-x.y.z.ebuild -> foobar- Sometimes a upstream lists dependencies which are considered deprecated. If possible, packages should **not** depend on these deprecated dependencies. Reasons a dependency might be deprecated is that it is too old, unmaintained, or the features it adds are not useful to Gentoo. You can find an overview of the currently deprecated dependencies and the reason they are deprecated in `$(portageq get_repo_path / gentoo)/profiles/package.deprecated`. `repoman -dx full` will warn you if your package depends on a deprecated dependency. -For Python packages there are some additional (test) dependencies that are considered undesirable or not useful, but are not considered deprecated. You can find an overview of those [here](https://dev.gentoo.org/~mgorny/python-guide/distutils.html#enabling-tests). +For Python packages there are some additional (test) dependencies that are considered undesirable or not useful, but are not considered deprecated. You can find an overview of those [here](https://dev.gentoo.org/~mgorny/python-guide/distutils.html#enabling-tests) and in the list below: +- dev-python/black +- dev-python/check-manifest +- dev-python/coverage +- dev-python/docutils +- dev-python/flake8 +- dev-python/isort +- dev-python/mypy +- dev-python/multilint +- dev-python/pep8 +- dev-python/pycodestyle +- dev-python/pytest-cov +- dev-python/pytest-runner +- dev-python/readme_renderer +- dev-python/tox +- dev-python/twine - #### Licenses of bundled libraries From f8caf432510f5a226f59b82de5b024cc50d2fe32 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:49:31 +0200 Subject: [PATCH 13/24] CONTRIBUTING.md: mention the clean patch guide Closes: https://github.com/gentoo/guru/issues/28 Signed-off-by: Alessandro Barbieri --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0fcc707081..2719cc93b5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -87,3 +87,7 @@ See the [dev manual](https://devmanual.gentoo.org/eclass-reference/distutils-r1. Installation of small files, like documentation, completions, man pages, etc, does not have to be toggle-able with an USE flag. Instead, just install these files unconditionally. This avoids unnecessary recompilations when an user forgot to enable a flag that installs a small file. The same holds for optional runtime dependencies. It is not necessary to introduce a USE flag, that does not alter the compiled binary and just pulls in an extra optional runtime dependency. Instead, you can notify the user of these optional runtime dependencies with the `optfeature` function from the [optfeature](https://devmanual.gentoo.org/eclass-reference/optfeature.eclass/) eclass (early from currently deprecated [eutils](https://devmanual.gentoo.org/eclass-reference/eutils.eclass/) eclass). If, for whatever reason, it is still desired to introduce an USE flag for optional runtime dependencies, one can still use the `optfeature` function as well to allow the user to choose to avoid recompiling a package. + +- #### Clean your patches + +See the [dev manual](https://devmanual.gentoo.org/ebuild-writing/misc-files/patches/#clean-patch-howto) for a guide on how to write clean patches From 3dbb6f90da7b02e3b85fb11e1f6b075c4f8e5d21 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:54:29 +0200 Subject: [PATCH 14/24] CONTRIBUTING.md: mention to avoid colon ad sed separator Closes: https://github.com/gentoo/guru/issues/34 Signed-off-by: Alessandro Barbieri --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2719cc93b5..c796af7447 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,3 +91,7 @@ The same holds for optional runtime dependencies. It is not necessary to introdu - #### Clean your patches See the [dev manual](https://devmanual.gentoo.org/ebuild-writing/misc-files/patches/#clean-patch-howto) for a guide on how to write clean patches + +- #### Avoid colon as a sed delimiter + +As seen in https://bugs.gentoo.org/685160 colon as a sed delimiter can break \*FLAGS. You must not use it to modify \*FLAGS, better if you avoid using it completely. From 562a849fc737b8147ed1e817a8a8f5da62c9f31b Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 01:55:52 +0200 Subject: [PATCH 15/24] README.md: add link to the python eclass guide Signed-off-by: Alessandro Barbieri --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bfefd41767..4f9945534d 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations - https://devmanual.gentoo.org/ebuild-writing/variables - https://devmanual.gentoo.org/function-reference - https://devmanual.gentoo.org/function-reference/install-functions +- https://dev.gentoo.org/~mgorny/python-guide/eclass.html - [GURU outdated packages](https://repology.org/projects/?search=&maintainer=&category=&inrepo=gentoo_ovl_guru¬inrepo=&repos=&families=&repos_newest=&families_newest=&outdated=on) ## Email Addresses From bc754961bb3e38e7d8a58cc39381982e06fa1ff9 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 26 Jul 2021 02:00:40 +0200 Subject: [PATCH 16/24] CONTRIBUTING.md: change bullet list to code Signed-off-by: Alessandro Barbieri --- CONTRIBUTING.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c796af7447..e79a787878 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,21 +33,23 @@ Please don't use symlinks in the repository (e.g. foobar-x.y.z.ebuild -> foobar- Sometimes a upstream lists dependencies which are considered deprecated. If possible, packages should **not** depend on these deprecated dependencies. Reasons a dependency might be deprecated is that it is too old, unmaintained, or the features it adds are not useful to Gentoo. You can find an overview of the currently deprecated dependencies and the reason they are deprecated in `$(portageq get_repo_path / gentoo)/profiles/package.deprecated`. `repoman -dx full` will warn you if your package depends on a deprecated dependency. For Python packages there are some additional (test) dependencies that are considered undesirable or not useful, but are not considered deprecated. You can find an overview of those [here](https://dev.gentoo.org/~mgorny/python-guide/distutils.html#enabling-tests) and in the list below: -- dev-python/black -- dev-python/check-manifest -- dev-python/coverage -- dev-python/docutils -- dev-python/flake8 -- dev-python/isort -- dev-python/mypy -- dev-python/multilint -- dev-python/pep8 -- dev-python/pycodestyle -- dev-python/pytest-cov -- dev-python/pytest-runner -- dev-python/readme_renderer -- dev-python/tox -- dev-python/twine +``` +dev-python/black +dev-python/check-manifest +dev-python/coverage +dev-python/docutils +dev-python/flake8 +dev-python/isort +dev-python/mypy +dev-python/multilint +dev-python/pep8 +dev-python/pycodestyle +dev-python/pytest-cov +dev-python/pytest-runner +dev-python/readme_renderer +dev-python/tox +dev-python/twine +``` - #### Licenses of bundled libraries From 56faf27c0265095413b7e8eb1dcfe8b40953355b Mon Sep 17 00:00:00 2001 From: Azael Reyes Date: Sun, 25 Jul 2021 19:50:28 -0700 Subject: [PATCH 17/24] dev-libs/octetos-coreutils: fxing mkdir comand Signed-off-by: Azael Reyes Package-Manager: Portage-3.0.20, Repoman-3.0.2 --- dev-libs/octetos-coreutils/Manifest | 1 + .../octetos-coreutils-0.17.0_alpha.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-libs/octetos-coreutils/octetos-coreutils-0.17.0_alpha.ebuild diff --git a/dev-libs/octetos-coreutils/Manifest b/dev-libs/octetos-coreutils/Manifest index a952b75399..035edb2d41 100644 --- a/dev-libs/octetos-coreutils/Manifest +++ b/dev-libs/octetos-coreutils/Manifest @@ -1,2 +1,3 @@ DIST octetos-coreutils-0.11.1_alpha.tar.gz 31386 BLAKE2B 1a5367617f7b5ce8a3138ec4bb89a3417277a40a55811b57819a6d4f16bef1fc1821880bfe33bc6a34c26df434066a8bdd8e467685e7038e2a3896443d75947e SHA512 7fae5359ee39135496dcd777d4750c8b5c5175b318ef066b0d94fae6f48af75a731a56e0d4f9d3b4669910b9cfa7aed7f26d67085bc2f60237dabc5eedf75325 DIST octetos-coreutils-0.13.0_alpha.tar.gz 32902 BLAKE2B 3d063d8354b81cc3eb71d7f7a4cd3ef85ce3fb10e469c32a8117c5d76aa090ca1b0a9bdd2eab21ffdf9b44e1ac0893cf9332ce78ebb6ee63c44d5f6755dfbda4 SHA512 faf3391254f550c765e733b5977a53340de718e07614fa7b2ac044c301da26312d278d60042e5636141f8951fac3beaaec84cd6f8b1f7140f8cf920e1c4b31e2 +DIST octetos-coreutils-0.17.0_alpha.tar.gz 33027 BLAKE2B e991be57ebbd8efeec6493e06e890446dbcbd30c4e2f7d85c9addcae5ca700867a7e3f60725fc847bbe5acae14f0ac75c84f4c25c89464a38233b65a3cf49a35 SHA512 59318a60aae00f76d91d7c80b40bef7216715d6761f3dd1f0969ddb477b089e4290f25eb28a18ae0b9db4cdf0d19facbf9b6c0edcd6b8fc07e71f5cf9f222142 diff --git a/dev-libs/octetos-coreutils/octetos-coreutils-0.17.0_alpha.ebuild b/dev-libs/octetos-coreutils/octetos-coreutils-0.17.0_alpha.ebuild new file mode 100644 index 0000000000..817ec4977f --- /dev/null +++ b/dev-libs/octetos-coreutils/octetos-coreutils-0.17.0_alpha.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MYPV="${PV/_alpha/-alpha}" +MYP="${PN}-${MYPV}" + +DESCRIPTION="Similar to coreutils but is a C++ API." +HOMEPAGE="https://github.com/azaeldevel/octetos-coreutils" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/azaeldevel/octetos-coreutils.git" +else + SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/octetos-core" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/check + dev-util/cunit +" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + default + eautoreconf -fi +} + +src_configure() { + econf +} From edfae2874b2965828718265eff9eb8879ea011ac Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 10:50:19 +0200 Subject: [PATCH 18/24] dev-python/webrtcvad: new package (2.0.10) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/webrtcvad/Manifest | 1 + dev-python/webrtcvad/metadata.xml | 8 ++++++++ dev-python/webrtcvad/webrtcvad-2.0.10.ebuild | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 dev-python/webrtcvad/Manifest create mode 100644 dev-python/webrtcvad/metadata.xml create mode 100644 dev-python/webrtcvad/webrtcvad-2.0.10.ebuild diff --git a/dev-python/webrtcvad/Manifest b/dev-python/webrtcvad/Manifest new file mode 100644 index 0000000000..47255637fe --- /dev/null +++ b/dev-python/webrtcvad/Manifest @@ -0,0 +1 @@ +DIST webrtcvad-2.0.10.tar.gz 66156 BLAKE2B 7897903e66e1693ba780f4f4a821cab971206b6a1d6ff2d87d37164a3759f4cde249943e6defd1d548196bb057b726e2af715ad0594c45400735e4f4da27f014 SHA512 375c2161446dda62df7c8a81540b141663ada44f8b335338d1552dff97286d1f28e045a900a079ea42fb1fe11370252e014b31b140a44c7ae0a10bf8a4ac6333 diff --git a/dev-python/webrtcvad/metadata.xml b/dev-python/webrtcvad/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/webrtcvad/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild b/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild new file mode 100644 index 0000000000..8770688deb --- /dev/null +++ b/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild @@ -0,0 +1,16 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)" +HOMEPAGE="https://github.com/wiseman/py-webrtcvad" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" From 05a53fb2e3b96c306fd8ce9525931eba427159ff Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 10:51:12 +0200 Subject: [PATCH 19/24] dev-python/srt: new package (3.0.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/srt/Manifest | 1 + dev-python/srt/metadata.xml | 8 ++++++++ dev-python/srt/srt-3.4.1.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-python/srt/Manifest create mode 100644 dev-python/srt/metadata.xml create mode 100644 dev-python/srt/srt-3.4.1.ebuild diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest new file mode 100644 index 0000000000..57a8d4a7d6 --- /dev/null +++ b/dev-python/srt/Manifest @@ -0,0 +1 @@ +DIST srt-3.4.1.tar.gz 23723 BLAKE2B 33445cb969db64e89978c06fcb0b8145047a1f40082500f507b8c70d42489dc083f7b2972868bf08a9f5fcb1b9a279df279f034455d0b326f3c03da086bd59c5 SHA512 bb214935203b4d3a8bc1dc7968ed318ed55709b880046dd070c3547e5c5e7df6d12f445e3be83a2e938096655008705a76461c404494a1c8eccee36f2ff465cd diff --git a/dev-python/srt/metadata.xml b/dev-python/srt/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/srt/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/dev-python/srt/srt-3.4.1.ebuild b/dev-python/srt/srt-3.4.1.ebuild new file mode 100644 index 0000000000..5b60b2ff67 --- /dev/null +++ b/dev-python/srt/srt-3.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" +HOMEPAGE="https://github.com/cdown/srt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + default + + mv "${S}"/srt_tools/srt "${S}"/srt_tools/srt-cdown || die "Cannot rename the file" + sed -e 's|"srt_tools/srt"|"srt_tools/srt-cdown"|' \ + -i "${S}"/setup.py || die "Cannot update setup.py" + +} + +pkg_postinst() { + ewarn "To avoid conflict with dev-python/pysrt::gentoo the binary has been" + ewarn "renamed /usr/bin/srt-cdown. The python module is still called srt." +} From 5d8f1176b6e77b03f91cfdc1271b28ee397bb10c Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 10:52:03 +0200 Subject: [PATCH 20/24] dev-python/pysubs2: new package (1.2.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/pysubs2/Manifest | 1 + dev-python/pysubs2/metadata.xml | 8 ++++++++ dev-python/pysubs2/pysubs2-1.2.0.ebuild | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 dev-python/pysubs2/Manifest create mode 100644 dev-python/pysubs2/metadata.xml create mode 100644 dev-python/pysubs2/pysubs2-1.2.0.ebuild diff --git a/dev-python/pysubs2/Manifest b/dev-python/pysubs2/Manifest new file mode 100644 index 0000000000..8a9d63b6d5 --- /dev/null +++ b/dev-python/pysubs2/Manifest @@ -0,0 +1 @@ +DIST pysubs2-1.2.0.tar.gz 24022 BLAKE2B 46064dd456b6ae74de867e200a1ae89f7b177c2b5c51bfed3fb52656a5bb0d0ce825f552a1d7941127a8cdfba7f256b6fabf3a78b2f7432ef8121a0dd599797b SHA512 81af7bf7f1b7627f7fa86b32df4d006e654aa6d391e7b767fe3567f0b692e4ad7966cb3db5618f228de20d4c8e489dcf22080101c135a4f55bb6ffaab7ae5792 diff --git a/dev-python/pysubs2/metadata.xml b/dev-python/pysubs2/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/pysubs2/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/dev-python/pysubs2/pysubs2-1.2.0.ebuild b/dev-python/pysubs2/pysubs2-1.2.0.ebuild new file mode 100644 index 0000000000..5eea211517 --- /dev/null +++ b/dev-python/pysubs2/pysubs2-1.2.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="A library for editing subtitle files" +HOMEPAGE="https://github.com/tkarabela/pysubs2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" From 4cb908c2ac2a5dc51b58b477a37711755a3d5866 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 10:52:32 +0200 Subject: [PATCH 21/24] dev-python/ffmpeg-python: new package (0.2.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/ffmpeg-python/Manifest | 1 + .../ffmpeg-python/ffmpeg-python-0.2.0.ebuild | 28 +++++++++++++++++++ dev-python/ffmpeg-python/metadata.xml | 8 ++++++ 3 files changed, 37 insertions(+) create mode 100644 dev-python/ffmpeg-python/Manifest create mode 100644 dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild create mode 100644 dev-python/ffmpeg-python/metadata.xml diff --git a/dev-python/ffmpeg-python/Manifest b/dev-python/ffmpeg-python/Manifest new file mode 100644 index 0000000000..c1f30ed46f --- /dev/null +++ b/dev-python/ffmpeg-python/Manifest @@ -0,0 +1 @@ +DIST ffmpeg-python-0.2.0.tar.gz 3267771 BLAKE2B 8bca4a24434b6c7a542e3c178cb7bf1e5650f9763636d5378f9652cdd07ef19b0e96007d6bb71fdf1664efb6e33d597844c7d6a44dc8dcb1c083e21f53649469 SHA512 933ed958d61536bbbc0e0b08e19521c4b1f7df1cfe97de0b3d149a2748c5bd74915a3134861e8ecb1f92d5860315228b76aefcd087fcf07e188a56c651f5e301 diff --git a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild new file mode 100644 index 0000000000..c41179abea --- /dev/null +++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for FFmpeg - with complex filtering support" +HOMEPAGE="https://github.com/kkroening/ffmpeg-python" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + media-video/ffmpeg +" +RDEPEND=" + ${DEPEND} +" + +python_prepare_all() { + sed -e '/\/d' -i setup.py + distutils-r1_python_prepare_all +} diff --git a/dev-python/ffmpeg-python/metadata.xml b/dev-python/ffmpeg-python/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/ffmpeg-python/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + From fc7db43c35c7488cac3577db80d081b63dbc42dc Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 11:38:42 +0200 Subject: [PATCH 22/24] dev-python/auditok: new package (0.2.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/auditok/Manifest | 1 + dev-python/auditok/auditok-0.2.0.ebuild | 16 ++++++++++++++++ dev-python/auditok/metadata.xml | 8 ++++++++ 3 files changed, 25 insertions(+) create mode 100644 dev-python/auditok/Manifest create mode 100644 dev-python/auditok/auditok-0.2.0.ebuild create mode 100644 dev-python/auditok/metadata.xml diff --git a/dev-python/auditok/Manifest b/dev-python/auditok/Manifest new file mode 100644 index 0000000000..df72d84f52 --- /dev/null +++ b/dev-python/auditok/Manifest @@ -0,0 +1 @@ +DIST auditok-0.2.0.tar.gz 2162248 BLAKE2B 4b1738f69050a012070a193324be149520660b333e6fadb7d015321fe0e069101f1e2c09dc753c1b0e8a2affe4aba1ddcb2e4eb6104b8a2daf211cb058495e9c SHA512 7c21b83a3ef5873b6670a09d447ec6d427145db311472aba57f2d22c5a4542bdd9d04e338e3e2e6be73c501fd3ab73f83568f4ebdab4f4484a50d453fb745860 diff --git a/dev-python/auditok/auditok-0.2.0.ebuild b/dev-python/auditok/auditok-0.2.0.ebuild new file mode 100644 index 0000000000..d61d954334 --- /dev/null +++ b/dev-python/auditok/auditok-0.2.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="A module for Audio/Acoustic Activity Detection" +HOMEPAGE="https://github.com/amsehili/auditok/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/auditok/metadata.xml b/dev-python/auditok/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/auditok/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + From d8b67ea05b3d116151103aaae9766bf3eda704b5 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 11:50:00 +0200 Subject: [PATCH 23/24] dev-python/argparse: new package (1.4.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- dev-python/argparse/Manifest | 1 + dev-python/argparse/argparse-1.4.0.ebuild | 16 ++++++++++++++++ dev-python/argparse/metadata.xml | 8 ++++++++ 3 files changed, 25 insertions(+) create mode 100644 dev-python/argparse/Manifest create mode 100644 dev-python/argparse/argparse-1.4.0.ebuild create mode 100644 dev-python/argparse/metadata.xml diff --git a/dev-python/argparse/Manifest b/dev-python/argparse/Manifest new file mode 100644 index 0000000000..b7f1d1c21e --- /dev/null +++ b/dev-python/argparse/Manifest @@ -0,0 +1 @@ +DIST argparse-1.4.0.tar.gz 70508 BLAKE2B 7bc250ea4203f40d67d9a78ca046f7a2023df742a254426cdae551abb2edabb4beba8d3cef7c848e2e98ffd682a80638cf85689ddeab6b4ddcd3fd98e6d2572f SHA512 9941f9d26c43169f947c9efadda6239349e1f9df80ff5fcdba3070bc7b43c43ab6bb4b7f0c7eee8e5d06231a17a7e9ee9eb73c7a9bb68ebe5d13f879686d61b2 diff --git a/dev-python/argparse/argparse-1.4.0.ebuild b/dev-python/argparse/argparse-1.4.0.ebuild new file mode 100644 index 0000000000..0ee3b584ce --- /dev/null +++ b/dev-python/argparse/argparse-1.4.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python command-line parsing library" +HOMEPAGE="https://github.com/ThomasWaldmann/argparse/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PYTHON" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/argparse/metadata.xml b/dev-python/argparse/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/dev-python/argparse/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + From 52fd2bb7900eda245e3698b97e3fd21bcfd9ffbc Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 26 Jul 2021 11:51:23 +0200 Subject: [PATCH 24/24] media-video/ffsubsync: new package (0.4.11) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto --- media-video/ffsubsync/Manifest | 1 + media-video/ffsubsync/ffsubsync-0.4.11.ebuild | 30 +++++++++++++++++++ media-video/ffsubsync/metadata.xml | 8 +++++ 3 files changed, 39 insertions(+) create mode 100644 media-video/ffsubsync/Manifest create mode 100644 media-video/ffsubsync/ffsubsync-0.4.11.ebuild create mode 100644 media-video/ffsubsync/metadata.xml diff --git a/media-video/ffsubsync/Manifest b/media-video/ffsubsync/Manifest new file mode 100644 index 0000000000..2a956b3594 --- /dev/null +++ b/media-video/ffsubsync/Manifest @@ -0,0 +1 @@ +DIST ffsubsync-0.4.11.tar.gz 3818585 BLAKE2B 2f17da90306b4060553508b445c59eff4d73dfebf57754924a0836d791054a41e5f84e34813d85ea528136d8d1c64e71dd41e843b752015b9de6fac1edb38689 SHA512 decb4ff110c723228271961692bb12eac12c0e8c7b574d23d22fe760f0bcee3ad44811ce8ef8a7ee03a68ae9d15721ede363e6b0389ff44d48f521b045489ccb diff --git a/media-video/ffsubsync/ffsubsync-0.4.11.ebuild b/media-video/ffsubsync/ffsubsync-0.4.11.ebuild new file mode 100644 index 0000000000..4edbd7da76 --- /dev/null +++ b/media-video/ffsubsync/ffsubsync-0.4.11.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Automagically syncronize subtitles with video" +HOMEPAGE="https://github.com/smacke/ffsubsync" +SRC_URI="https://github.com/smacke/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/auditok[${PYTHON_USEDEP}] + dev-python/argparse[${PYTHON_USEDEP}] + dev-python/cchardet[${PYTHON_USEDEP}] + dev-python/ffmpeg-python[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + >=dev-python/numpy-1.12.0[${PYTHON_USEDEP}] + >=dev-python/pysubs2-1.2.0[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/srt-3.0.0[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/webrtcvad[${PYTHON_USEDEP}] + " diff --git a/media-video/ffsubsync/metadata.xml b/media-video/ffsubsync/metadata.xml new file mode 100644 index 0000000000..cbe3c6a539 --- /dev/null +++ b/media-video/ffsubsync/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + +