diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
commit | 74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch) | |
tree | 0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /dev-lang | |
parent | 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff) |
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'dev-lang')
25 files changed, 1016 insertions, 570 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz Binary files differindex f58d40fdc582..ef5fbf8a5356 100644 --- a/dev-lang/Manifest.gz +++ b/dev-lang/Manifest.gz diff --git a/dev-lang/clojure/Manifest b/dev-lang/clojure/Manifest index c4c1336f47e1..8332bef8dce7 100644 --- a/dev-lang/clojure/Manifest +++ b/dev-lang/clojure/Manifest @@ -1,5 +1,4 @@ AUX add-compile-spec-ant-build-target.patch 1813 BLAKE2B 5a24f1457e298429bee3fe31deca54df3801665ed57a91c9ee760003418a34a3d5f59cfe432eedfb8a247e8b9c12dce701253dd9fc747b3bf1c84f10d8bc9ec5 SHA512 da5e5a61faa8c17244073dcfa0de40c9aec1ce698df60aa1b8ba89d5aa187e9974edd400fee711120c0181b152e461db8669a85f5b83ff037023c3f05a81f21b -DIST clojure-1.11.2.tar.gz 705898 BLAKE2B 8c7219dc607d968504e17421c01060b803750f9304bf211c7c8cf883c073b14938fe042ca9a05cd9506cda8b8a9442a405913dc754cd5bedc2ed95bec9978691 SHA512 8de77a6b434a147b7252bc9a36bde5552d063ffa8702153483c690caa231265314aa871c5409c92037ade7c5e6d1df1bf32244929cb4886cdd91e4391f249184 DIST clojure-1.11.3.tar.gz 706113 BLAKE2B eed50639d251406d96e528a14d055ddc59cd7fac18a415d4947e46d93d11e67ec263f697dbc14a9e5482f134f546a55413529ed58a7b064169cb06f45bd5e5d5 SHA512 33d59a5c1b94902198e669ea7c4161c515d6463dd6e5ce7251adf8f5a9da493a5446d91f218e8e90ec8bf0866119f9c28d64361c2ed57265eea62baf39ca1302 DIST core.specs.alpha-0.3.70.tar.gz 12176 BLAKE2B 168b055ee1a518e750791cd010872b6d2f3a655c474f7feab93b0e06bca7cbaf9e029b9c042c2e218129213a5c787b3409c2ddc17f902907c1d38a4d9c22cdfd SHA512 223a8d1a2f1fbb93d9144e2a50fa7d9e5fa79657fcd0c96ece7170c33f23620aeb7645ace84edd3512fe87b88bb3e9422666c66343989bb07a4cd5fadc1216d7 DIST data.generators-1.1.0.tar.gz 11781 BLAKE2B cccbacb789f37a705d64c9467dcb0f737110176c92f3af89165688676c225179bdf17ca29126ab3578a54ace9137c991d2f1bf4b3024c7c6aaf9fe2f63f37fb8 SHA512 7b51fd44c9d58de639d036dbce343dd81a271e28db096c64e910ca6c87869fa6ccac9ba87d7313b53304017a335ee45bbd5ab9794bc166ec46b5a8d86b5aa82e @@ -8,8 +7,6 @@ DIST spec.alpha-0.4.233.tar.gz 42433 BLAKE2B be243c2180903ababd23eb6f5f47caa855f DIST test.check-1.1.1.tar.gz 85399 BLAKE2B 752f0f0149dd5720dcabdcc65173906b124a85590f6b3cda41d3384a05e5b54c10b4cd399ba26ff466d637ea87e0fd81dc2a4943179818ba3d4fccdee977922d SHA512 e62ac00e302efbf4bb0c70721cd0b4438b2d302855146a052bfde492b0f36506fbd44c10c3e5c88a0eeb9b548eac40247f77d8ac590f758176e1d8f54270e196 DIST test.generative-1.1.0.tar.gz 144819 BLAKE2B b6cbf42b401380e3977ac219ddbc8b26ddcfc285a06ce5f2d68c3a52bb6c36702922975e9c9e2bfd4198ec239f2efd676fdfc8293222b75eb5c417ef1d80681f SHA512 4ef4640be2f630c4ebbe81d7bafec1e6e32619480c09ef59882b182738a998941d442231148d8cd2fb4166454780fd72067e5dda4b64d0ae0b064c91928f5c67 DIST tools.namespace-1.5.0.tar.gz 37913 BLAKE2B bae6be788507d200f6e781754b46d5c7c34069b3340006f078a3f0360c0c5d2dea0398d5afe1ea6b49166baa482cc07a7687735474afc84abe644c2b8b53cd9d SHA512 c1f4dba4758ecb39460334e61f989cf92e3e2ca1f6ff03b9e12bc137de088f994d86feec827f40d33034e2f8978e099326aed3b85a21c68a910714b662bf9052 -DIST tools.reader-1.4.0.tar.gz 63792 BLAKE2B 7d0af9ff628ca1f1e1001c134e7fd2bb1cc7258321d8d19621936cdbb7e95ea5cb842268a15115b0b6929cbc352f35ea47439657db4d5d6403cf82821f7e0ccf SHA512 55c04e94828c0bf5e854d2b1d0bfd9c27e8411def1b429aa131b5e03614955777d188ad1a43295dffce032e8347e4d9d189b7eca0df3edbb105b4257f4641581 DIST tools.reader-1.4.2.tar.gz 63868 BLAKE2B 3f4ceab49de2d518ba5854a81af13cb51902b240d2db2be2c8ededd48d6f9db3898eb54fdb41c6b9ce49d9d8eb912b0a7d3683dc1d61b6e238c5b862fad4b4a5 SHA512 bc3510887b7c5c5f84f0969ff2224dc745a54c81c186c50d0436af9e6f8eb4abf6d9c6a7bba4362ba3f8c94cd6bedefdf1a7698a1cd67db4b324fbaffaae5fbf -EBUILD clojure-1.11.2-r1.ebuild 3455 BLAKE2B a30663dea9215c4f179e374a261a7dcc771b1df235d5c0ce0ab2acc633b256dd3488835e0600db3fc83da9838207164622b86b83d069e1fbf67157ddecefad32 SHA512 8fdc1471dccb7a0c772eaf743b94c1e111e629fac2e196a6230e8a3710574941aef18c3025a39d10da4a66d37faefe29b86cc4e1465024458a8a3da8425ff085 EBUILD clojure-1.11.3.ebuild 3456 BLAKE2B 753bf35e910bf891032252af794e73d597e1824386a2f6592abddb7c26cc034d0a81b04082a670585b2b00af635d3befc48f7c0d66973b9594aa3e385aa48237 SHA512 da3375de3bc6e9e6f8dd7589e9d6b2beb81a0bbe33f0ad55402528c5459c8e186821aed1013a39b62d0bdfae2022c6c645ca5bc9faf60450da77b5b3650606de MISC metadata.xml 335 BLAKE2B 9d5549eaaf88d24a1023d47406828fe19bb004dd23a8d53180d2f7cc3368b55105a3940051229a04f5a0071ef51591ec905c4fd1e527fc82b35f5f7920004267 SHA512 5d9f342b3e530281c617e5ffbc68ad085d6171148ff48c6842c5053cd35be57a244014b4b917610b833cbfa3d960f3e667aa6601d7e5cb29f05bd2030cc39200 diff --git a/dev-lang/clojure/clojure-1.11.2-r1.ebuild b/dev-lang/clojure/clojure-1.11.2-r1.ebuild deleted file mode 100644 index 089737c06143..000000000000 --- a/dev-lang/clojure/clojure-1.11.2-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -SPEC_ALPHA_VER=0.4.233 -CORE_SPECS_ALPHA_VER=0.3.70 - -TOOLS_NAMESPACE_VER=1.5.0 -JAVA_CLASSPATH_VER=1.1.0 -TOOLS_READER_VER=1.4.0 -TEST_GENERATIVE_VER=1.1.0 -DATA_GENERATORS_VER=1.1.0 -TEST_CHECK_VER=1.1.1 - -JAVA_PKG_IUSE="test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="General-purpose programming language with an emphasis on functional programming" -HOMEPAGE="https://clojure.org/ - https://github.com/clojure/clojure/" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/${P}.tar.gz - - https://github.com/clojure/spec.alpha/archive/v${SPEC_ALPHA_VER}.tar.gz - -> spec.alpha-${SPEC_ALPHA_VER}.tar.gz - https://github.com/clojure/core.specs.alpha/archive/v${CORE_SPECS_ALPHA_VER}.tar.gz - -> core.specs.alpha-${CORE_SPECS_ALPHA_VER}.tar.gz - - test? ( - https://github.com/clojure/tools.namespace/archive/v${TOOLS_NAMESPACE_VER}.tar.gz - -> tools.namespace-${TOOLS_NAMESPACE_VER}.tar.gz - https://github.com/clojure/java.classpath/archive/v${JAVA_CLASSPATH_VER}.tar.gz - -> java.classpath-${JAVA_CLASSPATH_VER}.tar.gz - https://github.com/clojure/tools.reader/archive/v${TOOLS_READER_VER}.tar.gz - -> tools.reader-${TOOLS_READER_VER}.tar.gz - https://github.com/clojure/test.generative/archive/v${TEST_GENERATIVE_VER}.tar.gz - -> test.generative-${TEST_GENERATIVE_VER}.tar.gz - https://github.com/clojure/data.generators/archive/v${DATA_GENERATORS_VER}.tar.gz - -> data.generators-${DATA_GENERATORS_VER}.tar.gz - https://github.com/clojure/test.check/archive/v${TEST_CHECK_VER}.tar.gz - -> test.check-${TEST_CHECK_VER}.tar.gz - ) -" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="EPL-1.0 Apache-2.0 BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 x86 ~x86-linux" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=virtual/jre-1.8:* -" -DEPEND=" - >=virtual/jdk-1.8:* -" - -PATCHES=( "${FILESDIR}/add-compile-spec-ant-build-target.patch" ) - -DOCS=( changes.md CONTRIBUTING.md readme.txt ) - -src_prepare() { - default - java-utils-2_src_prepare - - ln -rs \ - ../spec.alpha-${SPEC_ALPHA_VER}/src/main/clojure/clojure/spec \ - src/clj/clojure/spec || die "Could not create symbolic link for spec-alpha" - ln -rs \ - ../core.specs.alpha-${CORE_SPECS_ALPHA_VER}/src/main/clojure/clojure/core/specs \ - src/clj/clojure/core/specs || die "Could not create symbolic link for core-specs-alpha" -} - -src_compile() { - eant -f build.xml jar -} - -src_test() { - ln -rs \ - ../tools.namespace-${TOOLS_NAMESPACE_VER}/src/main/clojure/clojure/tools \ - src/clj/clojure/tools || die "Could not create symbolic link for tools-namespace" - mv \ - ../java.classpath-${JAVA_CLASSPATH_VER}/src/main/clojure/clojure/java/* \ - src/clj/clojure/java || die "Could not move java-classpath" - mv \ - ../tools.reader-${TOOLS_READER_VER}/src/main/clojure/clojure/tools/* \ - src/clj/clojure/tools || die "Could not move tools-reader" - mv \ - ../test.generative-${TEST_GENERATIVE_VER}/src/main/clojure/clojure/test/* \ - src/clj/clojure/test || die "Could not move test-generative" - ln -rs \ - ../data.generators-${DATA_GENERATORS_VER}/src/main/clojure/clojure/data/ \ - src/clj/clojure/data || die "Could not create symbolic link for data-generators" - mv \ - ../test.check-${TEST_CHECK_VER}/src/main/clojure/clojure/test/* \ - src/clj/clojure/test || die "Could not move test-check" - - eant -f build.xml test -} - -src_install() { - java-pkg_newjar "${PN}.jar" - java-pkg_dolauncher "${PN}" --main clojure.main - - einstalldocs -} diff --git a/dev-lang/duktape/Manifest b/dev-lang/duktape/Manifest index 4203e3cd3250..c0a421f36703 100644 --- a/dev-lang/duktape/Manifest +++ b/dev-lang/duktape/Manifest @@ -1,5 +1,5 @@ AUX duktape-2.7.0-respect-tc-env.patch 1427 BLAKE2B 50632d9ed0042dacdd4e0c760b2c374598b0955ff66d2625109a4555dc792c3c0be8d9855921cc7708009514257486698d7da8a18efd087cbe923fee9236ccf8 SHA512 e5d598c05aeff3db6f03565b1f443497506cab72895d867edb939fbad63258e1d11330880e6396a0c978a1c9cc0da7a6edd0362d5cd8eab48c188be7c043e63a AUX duktape-2.7.0-underlinked-libm.patch 1040 BLAKE2B 4cbacde262d9882f710a44a99b7970b1b02fa27a6442f981ba4f95427126b6d1d94cfb4fb84d7fbb523a9c8c7abe14f823f2ae9b85c84d355e90f31305fa8d1c SHA512 4e55e43bf80676972df5c31841e99003fdd3d13f854aa4d282942baf44b4c1277c7bae3fb7f95ea9915d2f88258e7afdd328da8ff16775bdbe58fb096b6d845c DIST duktape-2.7.0.tar.xz 1026524 BLAKE2B da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5 SHA512 8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d -EBUILD duktape-2.7.0-r3.ebuild 927 BLAKE2B 543cff91f00c90358f27a2395a11af9d490a66d6c2cf51b25e3646e4b0ab76a0b22c70f03a311801b6b7dbcf7ddc9fbc35012eae67e6f15ff2607196024adc11 SHA512 135c322ad5cf2757971abf04ecdebdb670db98ecaa589e5a463c815e9a983e3bb377d472fff23bf73d2f9355807b6eed4f44b075fd7f80e55c0420b5220ee9fc +EBUILD duktape-2.7.0-r3.ebuild 926 BLAKE2B 6fdd817660ebee0238ff54896a8c88c2c4bbeaa9c27f27f314aa432db77e083f07410011b3b98d257c2ff7d8c22014a7e10aeaa6e8d26ca64ae699c3dd5cf53f SHA512 6aa138f05ea9b13ed4001768161440f96e73ed5c7c79081dda917e7a775481d8f85440d8761d63d46756d9f49bc7135f376c3f867564b6047e16b85db6f887a1 MISC metadata.xml 321 BLAKE2B 2a50c01a5f2fced09b9faecfda887bd2de9bb266ab9fed010627aacd691f6acd7aa4c327b6b77190ccee315098695004b2b3b798464420117648651d7da427f3 SHA512 b1e4fcc8a976debc2384323ee3c520dbd5b5f1ee869b73ebd6c299c414058024683b781e2506db1fc46cfe60878941e730a912e2197232fdaa2b0d97862eb8cc diff --git a/dev-lang/duktape/duktape-2.7.0-r3.ebuild b/dev-lang/duktape/duktape-2.7.0-r3.ebuild index f77166dfcd44..a4ef2e6cdadb 100644 --- a/dev-lang/duktape/duktape-2.7.0-r3.ebuild +++ b/dev-lang/duktape/duktape-2.7.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ LICENSE="MIT" # Upstream don't maintain binary compatibility # https://github.com/svaarala/duktape/issues/1524 SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" PATCHES=( "${FILESDIR}"/${PN}-2.7.0-respect-tc-env.patch diff --git a/dev-lang/gdl/Manifest b/dev-lang/gdl/Manifest index ff030895996a..de31140e561f 100644 --- a/dev-lang/gdl/Manifest +++ b/dev-lang/gdl/Manifest @@ -1,8 +1,4 @@ -AUX gdl-1.0.1-cmake.patch 4639 BLAKE2B 53e8093ab8f3d33fdd4db3441060400c02418e1543c5a975129ba6097e25861823f51f0e923b989a8e94fa6780fe065eae4e8a753abac3b580c22a132bf11af5 SHA512 f6df405084ecfe0a8ac96431ac8a28501e68cb6d3d6619f86825f70910df14d47b0d2da8901d0436a4dfd1c7625beabdc297cfa898346d3f6cd65d2f4f6d4dfa AUX gdl-1.0.4-cmake.patch 4739 BLAKE2B 954ec16e3bdd803ad842cce7d3389bd1a6137176a4be129027fd2b5075fbac89f45a3cfacc1f04cc7aec73f519f5a25d36b75c8790490ebef41f9b462fed0b5a SHA512 aeaf09b6eadbe89f98cccb003dbea510e8ec66659d7c290dc7e5315db073592ad215fab4a8feb9ac2af5ef7be9822c5fa0e92ab4bf64394b6fae6caa0277a279 -DIST gdl-1.0.1.tar.gz 32775655 BLAKE2B 3428f33300403c98ae1f8f88cfa0e2346abe53d53b9f00c82ee5bf7f09f1f2f7d3021fa81173221ddd41ec29c94c2757cd1dc39b6e4d919c29d70af2e5045e6a SHA512 9d15f114d26d03c34dce6177a5d5115e81c128ec21752c01d171f8427e6cb21b9d0b69a44e29891b5e8fc2bd4d0b89d1a8dcd189f362a13c6e59182528b5842d DIST gdl-1.0.4.tar.gz 33219638 BLAKE2B db0e843cf2e3f07d6f53d3a8b46cb95303cd0ae199c98099f45bbdfe5d206f325a8f9814935e876a3dfee3a46da0144766b18fa54b38a653567a429a88f06250 SHA512 3206bdd88b0478493221c0552e62620f1c9acbfec6f1900d73d932caae12401bf825e8893c81f844965f79e332bedb6ea99e6ea6f2b21427022efa60d1326eb0 -EBUILD gdl-1.0.1-r2.ebuild 3284 BLAKE2B 8e9ee4863ebff32c32e85531d116f0ce612c00cff222f7541251b570f9c72d173f0de8d5fc682435f269038c51a6e64eb1b1ed4a897509ec7536d56995edcb72 SHA512 9ec0abdcda91fa49a96da5f0bfbc58bc3cb56d2ed1250feab9ca2183a8efa3d0a9a2f3300ef657993f2076e8e013471cea2059521ac5c9f6b30b8221f134bbb7 EBUILD gdl-1.0.4-r1.ebuild 3387 BLAKE2B 3fa66631eaaad8e2fca7f08de10f424179a0bb92aad840481cbe7e27bc3dc70b4735bd3850bd693bc736682f4bf0172be603fdbf5ce162f633b44ea545542b50 SHA512 558be57b0a371d90a19d3a860cfc975a8b26eca4b298c59a1f52cd0d44c0a7f200575dbb8f1e7c531df6cff6cf5e735cae28cf6ae2e3a26cfb47d284b6bfbc7e -EBUILD gdl-1.0.4.ebuild 3387 BLAKE2B 68a5e72619ddfe90a52d46d55e90bea4a184f785333ab02615c46c2e1ba98ca4a599dcaa5019c6c5d811a80649e5eef64ef2ee558b332875a8e2ad5592744080 SHA512 bfaedc8aa79ada186297c955b5eb69a84b80c143de56c2c27705ade7cca763941fec7e6b0e0f336f858610b48a1ca637f5ffbd1bcf77c8f035918c2162193eef MISC metadata.xml 1288 BLAKE2B c2e9dd75d0e8a9d59470fb1c9eee3e8b6f9378bfcb11dfd7f1e37d6294f3830af40d1693ab306e656cc830e5f924738f8db015fdf710318529635b3197abfa1b SHA512 927178c2c284e7a273cd289a3c828094b5a5cfd7fc4eeb8479ba6fa6b56bd5a0ed240161edbad1c1ad6c8189844cff8ccbaf9c1ff57842ea439fb82677e0b4bf diff --git a/dev-lang/gdl/files/gdl-1.0.1-cmake.patch b/dev-lang/gdl/files/gdl-1.0.1-cmake.patch deleted file mode 100644 index 66c895250f97..000000000000 --- a/dev-lang/gdl/files/gdl-1.0.1-cmake.patch +++ /dev/null @@ -1,110 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6c07596..31dcaf2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -459,8 +459,10 @@ endif(CYGWIN OR NOT WIN32) - - # PLplot MANDATORY - # -DPLPLOTDIR=DIR --set(CMAKE_PREFIX_PATH ${PLPLOTDIR}) --find_package(Plplot QUIET) -+ -+find_package(PkgConfig REQUIRED) -+pkg_check_modules(PLPLOT REQUIRED plplot plplot-c++) -+ - set(HAVE_LIBPLPLOTCXXD ${PLPLOT_FOUND}) - if(PLPLOT_FOUND) - set(LIBRARIES ${LIBRARIES} ${PLPLOT_LIBRARIES}) -@@ -635,33 +637,16 @@ endif(GRAPHICSMAGICK_FOUND) - # -DMAGICK=ON|OFF - # -DMAGICKDIR=DIR - if(MAGICK) -- set(CMAKE_PREFIX_PATH ${MAGICKDIR}) -- find_package(ImageMagick QUIET COMPONENTS Magick++ MagickWand MagickCore) -- mark_as_advanced(ImageMagick_EXECUTABLE_DIR ImageMagick_Magick++_INCLUDE_DIR ImageMagick_Magick++_LIBRARY -- ImageMagick_MagickCore_INCLUDE_DIR ImageMagick_MagickCore_LIBRARY ImageMagick_MagickWand_INCLUDE_DIR ImageMagick_MagickWand_LIBRARY) -- set(USE_MAGICK ${ImageMagick_FOUND}) -- if(ImageMagick_FOUND) -- find_program(MAGICKXXCONFIG Magick++-config) -- if(MAGICKXXCONFIG) -- execute_process(COMMAND ${MAGICKXXCONFIG} "--libs" OUTPUT_VARIABLE MAGICKXXCONFIGLIBS OUTPUT_STRIP_TRAILING_WHITESPACE) -- set(LIBRARIES ${LIBRARIES} ${MAGICKXXCONFIGLIBS}) -- else(MAGICKXXCONFIG) -- message(FATAL_ERROR "ImageMagick is required but was not found (Magick++-config).\n" -- "Use -DMAGICKDIR=DIR to specify the ImageMagick directory.\n" -- "Use -DMAGICK=OFF to not use it.\n" -- "(suitable Debian/Ubuntu package: libmagick++-dev)\n" -- "(suitable Fedora/CentOS package: ImageMagick-c++-devel)") -- endif(MAGICKXXCONFIG) -- set(LIBRARIES ${LIBRARIES} ${ImageMagick_LIBRARIES}) -- include_directories(${ImageMagick_INCLUDE_DIRS}) -- set(MAGICK_LIBRARIES ${ImageMagick_LIBRARIES}) -- else(ImageMagick_FOUND) -- message(FATAL_ERROR "ImageMagick is required but was not found.\n" -- "Use -DMAGICKDIR=DIR to specify the ImageMagick directory.\n" -- "Use -DMAGICK=OFF to not use it.\n" -- "(suitable Debian/Ubuntu package: libmagick++-dev)\n" -- "(suitable Fedora/CentOS package: ImageMagick-c++-devel)") -- endif(ImageMagick_FOUND) -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(Magick++ REQUIRED Magick++) -+ pkg_check_modules(MagickWand REQUIRED MagickWand) -+ pkg_check_modules(MagickCore REQUIRED MagickCore) -+ -+ set(MAGICK_LIBRARIES ${Magick++_LIBRARIES} ${MagickWand_LIBRARIES} ${MagickCore_LIBRARIES}) -+ set(LIBRARIES ${LIBRARIES} ${MAGICK_LIBRARIES}) -+ include_directories(${Magick++_INCLUDE_DIRS}) -+ include_directories(${MagickWand_INCLUDE_DIRS}) -+ include_directories(${MagickCore_INCLUDE_DIRS}) - endif(MAGICK) - - ## not valid anymore I bet ## if GM or IM activated, we check whether Plplot is OK for that -@@ -1037,20 +1022,8 @@ endif(GLPK) - # -DSHAPELIB=ON|OFF - # -DSHAPELIBDIR=DIR - if(SHAPELIB) -- set(CMAKE_PREFIX_PATH ${SHAPELIBDIR}) -- find_package(SHAPELIB QUIET) -- set(USE_SHAPELIB ${SHAPELIB_FOUND}) -- if(SHAPELIB_FOUND) -- set(LIBRARIES ${LIBRARIES} ${SHAPELIB_LIBRARIES}) -- include_directories(${SHAPELIB_INCLUDE_DIR}) -- else(SHAPELIB_FOUND) -- message(FATAL_ERROR "SHAPELIB (http://shapelib.maptools.org/) is required but was not found.\n" -- "Use -DSHAPELIBDIR=DIR to specify the SHAPELIB-devel directory tree.\n" -- "Use -DSHAPELIB=OFF to not use it.\n" -- "shapelib is often in package libshp-devel.\n" -- "(suitable Debian/Ubuntu package: libshp-dev)\n" -- "(suitable Fedora/CentOS package: shapelib-devel)\n") -- endif(SHAPELIB_FOUND) -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(shapelib REQUIRED shapelib) - endif(SHAPELIB) - # EXPAT for IDLffXMLSAX and IDLffXMLDOM - # -DEXPAT=ON|OFF -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index f1923d2..6f1343e 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -193,9 +193,9 @@ ${WX_RC} - ) - endif(HAVE_LIBWXWIDGETS AND WIN32) - --add_subdirectory(antlr) -+find_library(ANTLR_LIBRARY NAMES antlr) - --include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/antlr ${CMAKE_BINARY_DIR}) -+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR}) - link_directories(${LINK_DIRECTORIES}) - - if(PYTHON_MODULE) #GDL.so -@@ -213,8 +213,7 @@ if(USE_OPENMP) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") - endif(USE_OPENMP) - --add_dependencies(gdl antlr) # be sure that antlr is built before gdl --target_link_libraries(gdl antlr) # link antlr against gdl -+target_link_libraries(gdl ${ANTLR_LIBRARY}) # link antlr against gdl - if (MINGW) - target_link_libraries(gdl ws2_32) - endif (MINGW) diff --git a/dev-lang/gdl/gdl-1.0.1-r2.ebuild b/dev-lang/gdl/gdl-1.0.1-r2.ebuild deleted file mode 100644 index fa0c8e92f4d9..000000000000 --- a/dev-lang/gdl/gdl-1.0.1-r2.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.0-gtk3" -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake python-single-r1 toolchain-funcs virtualx wxwidgets - -DESCRIPTION="GNU Data Language" -HOMEPAGE="https://github.com/gnudatalanguage/gdl" -SRC_URI="https://github.com/gnudatalanguage/gdl/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE=" - +eigen fftw glpk graphicsmagick gshhs hdf hdf5 +imagemagick netcdf - openmp png proj postscript python shapelib tiff udunits wxwidgets -" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-cpp/antlr-cpp:2= - dev-libs/expat - net-libs/libtirpc:= - sci-libs/gsl:= - sci-libs/plplot:=[X,cxx,-dynamic,wxwidgets?] - sys-libs/ncurses:= - sys-libs/readline:= - sys-libs/zlib - x11-libs/libX11 - fftw? ( sci-libs/fftw:3.0= ) - glpk? ( sci-mathematics/glpk:= ) - gshhs? ( - sci-geosciences/gshhs-data - sci-geosciences/gshhs:= - ) - hdf? ( sci-libs/hdf:= ) - hdf5? ( sci-libs/hdf5:= ) - imagemagick? ( - !graphicsmagick? ( media-gfx/imagemagick:=[cxx] ) - graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) - ) - netcdf? ( sci-libs/netcdf:= ) - proj? ( sci-libs/proj:= ) - postscript? ( dev-libs/pslib ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) - shapelib? ( sci-libs/shapelib:= ) - tiff? ( - media-libs/tiff:= - sci-libs/libgeotiff:= - ) - udunits? ( sci-libs/udunits ) - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) -" -DEPEND="${RDEPEND} - eigen? ( dev-cpp/eigen:3 ) -" -BDEPEND=" - virtual/pkgconfig -" - -PATCHES=( "${FILESDIR}"/${PN}-1.0.1-cmake.patch ) -DOCS=( AUTHORS HACKING NEWS PYTHON.txt README README.md ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use wxwidgets && setup-wxwidgets unicode - use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx - - # remove bundled antlr - rm -r src/antlr || die - - # gentoo: avoid install files in datadir directory - # and manually install them in src_install - sed -e '/AUTHORS/d' -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # MPI is still very buggy - # x11=off does not compile - local mycmakeargs=( - -DMPI=OFF - -DREADLINE=ON - -DX11=ON - -DEXPAT=ON - -DEIGEN3=$(usex eigen) - -DFFTW=$(usex fftw) - -DGRIB=OFF - -DGLPK=$(usex glpk) - -DHDF=$(usex hdf) - -DHDF5=$(usex hdf5) - -DLIBPROJ=$(usex proj) - -DNETCDF=$(usex netcdf) - -DOPENMP=$(usex openmp) - -DPNGLIB=$(usex png) - -DUDUNITS2=$(usex udunits) - -DWXWIDGETS=$(usex wxwidgets) - -DGRAPHICSMAGICK=$(usex imagemagick $(usex graphicsmagick)) - -DMAGICK=$(usex imagemagick $(usex !graphicsmagick)) - -DTIFF=$(usex tiff) - -DGEOTIFF=$(usex tiff) - -DPYTHON_MODULE=$(usex python) - -DPYTHON=$(usex python) - -DSHAPELIB=$(usex shapelib) - ) - - if use python; then - # automatically selection ignores EPYTHON - mycmakeargs+=( - -DPYTHONVERSION="${EPYTHON#python}" - ) - fi - - cmake_src_configure -} - -src_test() { - virtx cmake_src_test -} - -src_install() { - cmake_src_install - - newenvd - 50gdl <<-_EOF_ - GDL_PATH="+${EPREFIX}/usr/share/gnudatalanguage" - _EOF_ -} diff --git a/dev-lang/gdl/gdl-1.0.4.ebuild b/dev-lang/gdl/gdl-1.0.4.ebuild deleted file mode 100644 index 95e4cdaec158..000000000000 --- a/dev-lang/gdl/gdl-1.0.4.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.0-gtk3" -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake python-single-r1 toolchain-funcs virtualx wxwidgets - -DESCRIPTION="GNU Data Language" -HOMEPAGE="https://github.com/gnudatalanguage/gdl" -SRC_URI="https://github.com/gnudatalanguage/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE=" - +eigen fftw glpk graphicsmagick gshhs hdf hdf5 +imagemagick netcdf - openmp png proj postscript python shapelib tiff udunits wxwidgets -" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-cpp/antlr-cpp:2= - dev-libs/expat - media-libs/libpng:= - net-libs/libtirpc:= - sci-libs/gsl:= - sci-libs/plplot:=[X,cxx,-dynamic,wxwidgets?] - sys-libs/ncurses:= - sys-libs/readline:= - sys-libs/zlib - x11-libs/libX11 - fftw? ( sci-libs/fftw:3.0= ) - glpk? ( sci-mathematics/glpk:= ) - gshhs? ( - sci-geosciences/gshhs-data - sci-geosciences/gshhs:= - ) - hdf? ( sci-libs/hdf:= ) - hdf5? ( sci-libs/hdf5:= ) - imagemagick? ( - !graphicsmagick? ( media-gfx/imagemagick:=[cxx] ) - graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) - ) - netcdf? ( sci-libs/netcdf:= ) - proj? ( sci-libs/proj:= ) - postscript? ( dev-libs/pslib ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) - shapelib? ( sci-libs/shapelib:= ) - tiff? ( - media-libs/tiff:= - sci-libs/libgeotiff:= - ) - udunits? ( sci-libs/udunits ) - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) -" -DEPEND="${RDEPEND} - eigen? ( dev-cpp/eigen:3 ) -" -BDEPEND=" - virtual/pkgconfig -" - -PATCHES=( "${FILESDIR}"/${PN}-1.0.4-cmake.patch ) -DOCS=( AUTHORS HACKING NEWS PYTHON.txt README README.md ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use wxwidgets && setup-wxwidgets unicode - use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx - - # remove bundled antlr - rm -r src/antlr || die - - # gentoo: avoid install files in datadir directory - # and manually install them in src_install - sed -e '/AUTHORS/d' -i CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - # MPI is still very buggy - # x11=off does not compile - local mycmakeargs=( - -DMPI=OFF - -DREADLINE=ON - -DX11=ON - -DEXPAT=ON - -DPNGLIB=ON - -DEIGEN3=$(usex eigen) - -DFFTW=$(usex fftw) - -DGRIB=OFF - -DGLPK=$(usex glpk) - -DHDF=$(usex hdf) - -DHDF5=$(usex hdf5) - -DLIBPROJ=$(usex proj) - -DNETCDF=$(usex netcdf) - -DOPENMP=$(usex openmp) - -DPNGLIB=$(usex png) - -DUDUNITS2=$(usex udunits) - -DWXWIDGETS=$(usex wxwidgets) - -DGRAPHICSMAGICK=$(usex imagemagick $(usex graphicsmagick)) - -DMAGICK=$(usex imagemagick $(usex !graphicsmagick)) - -DTIFF=$(usex tiff) - -DGEOTIFF=$(usex tiff) - -DPYTHON_MODULE=$(usex python) - -DPYTHON=$(usex python) - -DSHAPELIB=$(usex shapelib) - -DQHULL=OFF - ) - - if use python; then - # automatically selection ignores EPYTHON - mycmakeargs+=( - -DPYTHONVERSION="${EPYTHON#python}" - ) - fi - - cmake_src_configure -} - -src_test() { - virtx cmake_src_test -} - -src_install() { - cmake_src_install - - newenvd - 50gdl <<-_EOF_ - GDL_PATH="+${EPREFIX}/usr/share/gnudatalanguage" - _EOF_ -} diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest index 3fba5c7e3d53..e16bd85422e2 100644 --- a/dev-lang/perl/Manifest +++ b/dev-lang/perl/Manifest @@ -5,8 +5,9 @@ DIST perl-5.38.2.tar.xz 13679524 BLAKE2B 74250e30dde76911902a787134808dae69113c0 DIST perl-5.40.0-patches-2.tar.xz 17072 BLAKE2B 7cc1085a0a701f72cf1fce2b7f18ac949eb03a9e40716c37082396483045df577ef13bbca58ef06f20868e52e9c78e18fa5b8a3434ceea272ff49832a086a1f5 SHA512 d31a25894e3b34c8e80f439ebd423dd8f28eac056ce42d69376882c1655b1f7289ef22f8aa8d30147eaebbe6693f4d86d1570e153b55d58d7b30e5832e7bea60 DIST perl-5.40.0.tar.xz 13804184 BLAKE2B cf191c3ccaf6f395c0c7d08c2ad3456c1dd622d4fe78e7fb3a74c741e9a84f1d39a55f5bc6adbea54c9520b1b387e72e957f9a7544ab8f24968d233cd5b959ae SHA512 a2fb1a24c6367b4043f4e929b2d74fc3bad1415e53b791ed1f219f1701064ae21b2bd3164ba95fcf24eaf458bd54433024ccae43725c0bb82a1ec6a98dc7052d DIST perl-cross-1.5.2.tar.gz 120097 BLAKE2B 8703816363b41ea5fe528b192ed28b169cf0bfc3c61a9332682240bdc02f6ef0208fc0202517ba03e7c177bfbb52783c833aacaf2d16583e0f90bd58805a03ff SHA512 fb16316add0a7458f087295077518402eddaa1c759da6e268742e9ba5439cb3f1db7adcd7ef769c4a613b7518ff9e48849f60b24bd2a6daaaf6e96b59bbf0ac8 +DIST perl-cross-1.5.3.tar.gz 120847 BLAKE2B 346152b44e4ace3a9215aeb24de617ac217a462c1ebfa2b426e7bf9546673e1aef52ac2fd294bb2a00755f6e3590bd5bc3f615d874a0dcd5fa13b1eb2d3960c7 SHA512 cccfd32ee33e52a06fa0c6c1af0cd454bf20354e9ce4e7ebd599915b3a4a39b5e0b98e548c5e8084e175e9a3c78f0f7d782331ec2ceaec07c1c0413690d0d422 EBUILD perl-5.38.2-r3.ebuild 28316 BLAKE2B 32ec17aa2d2d533b05cc57a79d0913bedbb34d2ea7d35ab11df8672676ecb5beb363d3032a05fdff6dd520cd99635e5bdde56be6eeb10ceac09662986c6abe52 SHA512 c287979fb92484c299166733c2836301995b4943819680159d9a77be6342607b23df06e4285ad564ca288199590e59b0242fd77a172ff3f33f31d31c47fdc00d EBUILD perl-5.38.2-r5.ebuild 28299 BLAKE2B ea02c304d44d97897347b6909abd20629a67f9dfc374f9b368a0fef424d57c678dbcbf5a9c15eeaa8cfc621461f5b641a97532cc600813ea4bdb38a2d2aa4ffa SHA512 ed2f4bdf9615b45cf740d51c32f52e2b3717a4190efbacfc9b4b3e095a3585cc728d74467846c2cfad0f06ab4e19c465887d76ab9346961bc246114897c674e1 EBUILD perl-5.38.2-r6.ebuild 28298 BLAKE2B 59180f9485dcb9e69d207bfda545a037827d6e3ecfaf1c044568d904ca25e0e88028049b22e9245d4ed9067166998c2b2656274d20e53676cfff617f2fd0347d SHA512 cca24c55c3dbf343b8d2c997b3a25455f865ad687786edd3783a055401d761d0d1bfb0e42bc70bc7b33745f4ed29944ebcb943e70a5d63528cb596b4f189af0e -EBUILD perl-5.40.0.ebuild 28017 BLAKE2B 570037e7460668a1a7be5913e19245495757679f270b4d62f6de03697b4411847537bd062b36743e974c7c6bba1c51c0d3ba8b02d348199c9925d83e0319b358 SHA512 db7219448606fee050639e40a396f4f357705a4df1a5a1dd7c0cffdcd0b867cf71c8fd7994b4078b3264565611aa17d7bd1ac791ef3ddc32e24e20c926b63706 +EBUILD perl-5.40.0.ebuild 28017 BLAKE2B b2a7f532384a99de8a1b801d7cfc32c8d3417a66be4a1d7d4dc427bfc8b9c49ed1cf778ec66dffd7fb114aedeaa2842ea296c8fd06ce2e3aa27bd067632ab022 SHA512 24eae126aeaf97278ea819a00bd82860e42c22c93b04a97dc1c840b1d9610eba3d850aefa272ed99e09e5f9fda3eefd7ae1cb91db1543cd4bd7fbc2a3a567894 MISC metadata.xml 435 BLAKE2B 9a9dfd2dc8274c402dde0c3be13053b28361603c4fd230d841b169843e397bd6e16537034495178dfd443246c1621b34d849455147e8556a12806d973293a855 SHA512 1cb3197cf3c6f3031bdbc95c2686fcd2585f6e457d0661ed986cf7fa91b4ca564f793c2f141bfe5b9b8c54d2b05dd200c3e32bf073061872e08bd7c501bedc83 diff --git a/dev-lang/perl/perl-5.40.0.ebuild b/dev-lang/perl/perl-5.40.0.ebuild index ebcb1e7114af..33792179f43c 100644 --- a/dev-lang/perl/perl-5.40.0.ebuild +++ b/dev-lang/perl/perl-5.40.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing PATCH_VER=2 -CROSS_VER=1.5.2 +CROSS_VER=1.5.3 PATCH_BASE="perl-5.40.0-patches-${PATCH_VER}" PATCH_DEV=dilfridge diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest index 938658bd00d1..382085d10c0f 100644 --- a/dev-lang/python/Manifest +++ b/dev-lang/python/Manifest @@ -30,27 +30,29 @@ DIST python-gentoo-patches-3.13.0b1_p3.tar.xz 11056 BLAKE2B ef932bac59d2316ee8fe DIST python-gentoo-patches-3.13.0b2.tar.xz 5276 BLAKE2B 047e0362c328ca7545d7b0a86476f95eeecb381b979284a779788c451000e9fe0e1d31461865cd8f818be203b72404f9d810e5baf479a89c6dccc6db7501719a SHA512 43d3ef8e558309d2d93ce6d473eaecfc5359515067a861303b0f085eeb741265d4d071112dcaf55c0d38707c27df35398d3e6310fc1e522debeaaa1e5e8b55b4 DIST python-gentoo-patches-3.13.0b2_p1.tar.xz 9300 BLAKE2B 1aad8a19a5c237dc0dd67dd3f83116009e1d78f0e3d63780c463e418f22b5f1a4d50035fff8a80ac24b4d5fbcac281fc766fd3e86428d3c3041b5df3f5a518fc SHA512 bc09bdd4bc9716c83d580307af6d30f149894912ad2dbbf02274c88be82f67653aada0a8d16199d85418b1237ecff7c5e41352c759a31b807e7011089ebbbc20 DIST python-gentoo-patches-3.13.0b2_p3.tar.xz 10216 BLAKE2B ecc5c82ab17a4874ac8f8694fd76bd9401926a164c8ba38578da3c153138921463d07788e5bbcd5a87bc1d31703c4f06b193003bdb098ff6f07ff93178299113 SHA512 79d19cad2b497a315ecd923e995a99b22b132fb13239592ab73716ff1c799da8d371106f57f597eac44a5958d13e5bc7ce4c8bf4c160b6b219ad59b23da99298 +DIST python-gentoo-patches-3.13.0b2_p5.tar.xz 10616 BLAKE2B e80e96270fcf5d102a1c9f71eae1917387776fdfd32495117cb8854778457e5443c6293fc6af139483ba8339503a7c7f8da8db50f6a95940892ae769f2661d9c SHA512 b281438577bf56a0e1518541d760d9ceaa3c5e5e5619a8a7692ba2ca6cd94ddde3b8fa0132e2c590165fddeb3df88971c1842bc72bace92484cacfa254c5ce86 DIST python-gentoo-patches-3.8.19_p1.tar.xz 35008 BLAKE2B 8771e3a2329577659a4ff64987f2500b7dc4f07f78677b823c8f11e7a9e7fc0369cc127e6ad1f1000986937b7811467bd22ba02129a754246658f99b7219a4a7 SHA512 470c125e8df23c1db358c2f7bbf5ac3b28e76fb843364f7fd5aa2fd399ac9b01a2ddfc2c1765f91236c71712941d19f273fb21f960239f79a0263b5b47081d46 DIST python-gentoo-patches-3.8.19_p2.tar.xz 35524 BLAKE2B a6b81e6ae907b60eea676cb65a9c693e62453dc44616baaadb294c5782a195c20eff6c2869b38ea110fe06e9e511468f4ab0c3d1811b16e0ab2833f9dc09b25b SHA512 9944c330b6062c2ac6e13fcfbc1c8835dfd078f6744cdfbc03ba787ae97c08bdae559cefadafe9dfe9be9c31f8c15ee895599b266d870f73c06a2f4b15c78dc3 DIST python-gentoo-patches-3.9.19_p2.tar.xz 27684 BLAKE2B a69f00548c153da7b13dfeccb332d3d67ecf649fb5ae054590492f3e2fc2c84b78ebaf90bcf9738157c9022778e5bf2a6b4fb6a99e996dcb63859dcf6f84af23 SHA512 552a5f2d89307d4193d76df5a2cf1deb4bd5c8ad9ec81e6768987f1649f6571a318e68b92d8f8ecdba12bfe9c5f1a427a4cc577e6aaebf7748027cc50e412804 DIST python-gentoo-patches-3.9.19_p3.tar.xz 28240 BLAKE2B 35c70b1f9a590abe9a74795f478ab788cd72c96e9d84f2756685e61324dc4203148e71b00a236bb4af8fb8315e3582ecec255b39749a653e0511d4a9f9fef725 SHA512 6b8f4dab4aa7d4d646ee4091b5cf76bbc8896d4299a3623660a2c5fec06c0cf56c0a50ac87604885cd155141bc85e0e80acdbedb7b34a813901aad021b9b8ab2 EBUILD python-2.7.18_p16-r2.ebuild 8603 BLAKE2B 6a2ee7f1a5d0eae487cf0293fb2528c97679d0fb395cd51f00a08ede8abb473f3e16051c8b7b797a99c4462d520955c01b1b0d238caf0652a3166034bed60839 SHA512 e498d3f4904e2cf2de6a6d0beb8e573a462bc96970c861616bd12956434154146e1625ea36b44f984b82f3d6cc90b33860b71c4067002b7f96510eb5e632e572 -EBUILD python-3.10.14_p1-r1.ebuild 14743 BLAKE2B 930d923a7d3525806e740d60640ba0046b7a89e07b826b0e8d1c7f7695d740084e9cd08b55b395fb8c5360e2a93873111136cb470e1d0ef4a84dd713d330e120 SHA512 af3e4a550b6168968c6749df025e3539121378dc625683b3ac335b43a629bc50f254411ff1e166afd8e404a6ef611af9c5d17a9a8d10f572921621562dd4dfe7 +EBUILD python-3.10.14_p1-r1.ebuild 14742 BLAKE2B 52b80ddc253a2c2d60422af667dd04519404b6b1ed979fa0992b95dd471449ec1dcac814f49aa38cc0d7fcf6af5ed40035f8801cd2fc988865b61430dd511461 SHA512 272d8889f14ed94e72140afbc650b502b7f5a881ff681c760e307b2eb873679ae105fd87af3097c69eaef2b4a396fe7673505e1a0fd6ea4220d40a6a589d00a1 EBUILD python-3.10.14_p1.ebuild 14029 BLAKE2B a75f0cad3d531e041636974296d1fc2d9c8ec3f3032be20f32edfa4c2b0ab8fcceec9e144722f640e23e29e38fafd72810dfe37046c66b0a66ebc26a0f7280bb SHA512 a1885c8b00cf8a2542f971381dfe4de4ceef5773f00c33017eadff15e14fce4460bcd2b0f3106de0decb91b7613456eb3ee668a05d5db13e2d72dec8fe7d960c -EBUILD python-3.11.9-r1.ebuild 15855 BLAKE2B 024568c02756845bf33f706a61692f6861fac20a12837affc0b5d0694e75d748776ab67285ca8f33b925ab3981eece0bca474b8b23610589902ec1e1feeefde4 SHA512 1f9e646d239e7ef92be6c0698c149651ffff76900f610cedd50c78a84e7086a87a88f956acf2e4159f01d11c3885f9bde988b3543d82589dff6576eef316a561 +EBUILD python-3.11.9-r1.ebuild 15854 BLAKE2B f0c4576472eeea91a436eb64a0555a6db1125370bb0a586aa520e76047d8615603e23b8fb415fe86ed19ecd29038ae5bc7354e7d33c1bcd004ab82f62b5391dc SHA512 57cbe71b9d90e2fe06d28ad0fdee30da1d0ae9dbc4163e15b98f78069a7a7bb0a4312d8caa26fe23e74234c73f0b48409d77b28e40f47bf83667e7717d36fe32 EBUILD python-3.11.9.ebuild 15141 BLAKE2B 26a6359f2ed875e5a9cb470868244b9f7fa66cb3b67b1c19e9f9b68a574651398868d47cf7e2cb05ffff3897b633adb97d7ef2facf8774f8f81c7a169da2d019 SHA512 2f3220403e8c21b2dbafb3c611e4d38bc22b75ee4b95eef8bc2247ed9781167e1c9e660bf09094f8301264319a9a6eb782e6070391e6a941ba1b07e591da37a2 -EBUILD python-3.12.3-r1.ebuild 15416 BLAKE2B c8e552b8ca352d46f875fa957019e5081b0a4e93afa0780824713057600f257d318d80471bd98f2ca2b0ebef500698f14118dea7246cf73017f95e5bf15c356b SHA512 8eccedd273567056e086a2c41f450d1addd20b00c321b0f6848b072aa7772c17a0c1dc9bd2fd5d16b360bbc15f027ad0c342aac89ce1cee15757fa79cf12ced1 +EBUILD python-3.12.3-r1.ebuild 15415 BLAKE2B eccb47a2bea4df5bf3d1116afa348ddb87ed03f7031e5742ecf8e06cb875bb6a79f800313ca4ac7ed1cbae81de65f8aaf80616a1e423d8362480447b33860348 SHA512 4c9423cf3c24f4cc2dd095a7340277c0b119dcc95281cc08e23019ef6d9478af77b9b1961dedbac2709cc05923dcc6c1ac5ef1727106068431d21a9e8613aa21 EBUILD python-3.12.3.ebuild 14702 BLAKE2B e4dbc9370a9d846754b89cf13ec6db2674364061080dbc6cfe60faa8350e70772b31502bf650ae31aad4204b907095de07db201431afe6dcdc1f2973ddf0b603 SHA512 5446caf7a5aaba96604b5de6424ff359d190ed850eea7f035a3412f816388140aca01cbaba65d245db493f38cd0f2ecdbb8bc39c34e3921657ec0e091977e77d EBUILD python-3.12.4.ebuild 15505 BLAKE2B 5d39107bf5ab825d41cfae4e7285f85c13a3b80d7bba516902dd49ef13f6d155e86519de25a2ce209b9b009dc56822d71e9469d299d0ac8d25bed2a4e53a6cad SHA512 2f3fd4f68dba76f229b5baec5f929e612b7cad815d2711ade4cb3b51aeb3f701f2a6a41484934f92cfb16afb5d88edb12ee1da81453a82b9431be9413fcfc8b4 -EBUILD python-3.12.4_p1.ebuild 15505 BLAKE2B 5d39107bf5ab825d41cfae4e7285f85c13a3b80d7bba516902dd49ef13f6d155e86519de25a2ce209b9b009dc56822d71e9469d299d0ac8d25bed2a4e53a6cad SHA512 2f3fd4f68dba76f229b5baec5f929e612b7cad815d2711ade4cb3b51aeb3f701f2a6a41484934f92cfb16afb5d88edb12ee1da81453a82b9431be9413fcfc8b4 +EBUILD python-3.12.4_p1.ebuild 14884 BLAKE2B 03c95778d4d3b4d9644f14ed57ee593517894a97b9640124b1a63eb8024644dbe45888a8f605f23647954df7e62b494e6c338a66ef6f00801c7daa97c28324cc SHA512 8dae142c2b98ca70061174f904fe3af1ff74fd3007c458a8126711130d4c527652a480645ea3b705f5eba81ac958adbcd70bf529ca079a69eef243dc709a7d7c EBUILD python-3.13.0_beta1_p1.ebuild 15551 BLAKE2B 4c92847ac19dc66bf6093bb1207c4e83d821af861817b9b15794639d3dbbfa51991c64bd02edca652413aee31a1c663c50862564d563814d34a6a07922e2cb5a SHA512 1f0876376a13bd96f2e4c68b56ae6cf0155c6702609c532225c13c339dec79bf92a245d60230237c790f787814c48db1e3bffcc9b5eb0f46eb8ef590e906f22c EBUILD python-3.13.0_beta1_p2.ebuild 16998 BLAKE2B 5b554cedf13960c02c8fb5b597a290471887475a1ace7063857f42f1c3dd32d9d3af777b054851968aefcec8ba3f82db479853365deec28884fafbef1b6bf155 SHA512 069a0df320ab10b36519bafd93388e82d828bc10084735f47da21b0f5480c48bb08f8b57d2b785dc38ecfa3a0ef2d1d65e87ccf4fff904290b0e81867e3d0c60 EBUILD python-3.13.0_beta1_p3.ebuild 17690 BLAKE2B 02720e230d6a720a3d3dfb9f2aa91fc18d062e9ded12996cfbe1c51b400694230498940b3c4c6e2ce59c5567f07b87250cbe6218891efdd3954d5b7beb2d825c SHA512 3f4adf9634987853637e5d1121f8b6248106f00f4c1a585df22d6d5babe4062392c4187bc91a697647f6071a71bfaed81674e569b3c517a449ae81ed2abe6bbd EBUILD python-3.13.0_beta2.ebuild 17690 BLAKE2B 02720e230d6a720a3d3dfb9f2aa91fc18d062e9ded12996cfbe1c51b400694230498940b3c4c6e2ce59c5567f07b87250cbe6218891efdd3954d5b7beb2d825c SHA512 3f4adf9634987853637e5d1121f8b6248106f00f4c1a585df22d6d5babe4062392c4187bc91a697647f6071a71bfaed81674e569b3c517a449ae81ed2abe6bbd EBUILD python-3.13.0_beta2_p1.ebuild 17690 BLAKE2B 02720e230d6a720a3d3dfb9f2aa91fc18d062e9ded12996cfbe1c51b400694230498940b3c4c6e2ce59c5567f07b87250cbe6218891efdd3954d5b7beb2d825c SHA512 3f4adf9634987853637e5d1121f8b6248106f00f4c1a585df22d6d5babe4062392c4187bc91a697647f6071a71bfaed81674e569b3c517a449ae81ed2abe6bbd -EBUILD python-3.13.0_beta2_p3.ebuild 17690 BLAKE2B 02720e230d6a720a3d3dfb9f2aa91fc18d062e9ded12996cfbe1c51b400694230498940b3c4c6e2ce59c5567f07b87250cbe6218891efdd3954d5b7beb2d825c SHA512 3f4adf9634987853637e5d1121f8b6248106f00f4c1a585df22d6d5babe4062392c4187bc91a697647f6071a71bfaed81674e569b3c517a449ae81ed2abe6bbd +EBUILD python-3.13.0_beta2_p3.ebuild 17069 BLAKE2B f854c1d66cc8a9981733a328aa6b153edd2ea7245049dd6bf9a58ff79c4ea64a554cfe35e9abd60dc460a8fe8814927f07fac52ecadcce1db57928bb37f492af SHA512 0a5db9b97cdcea7ab43e75b577b52e2e91c205cf002701253852c832cf912b97ea4d26056c2f364d387411d275a6b50ac25bff8b6565d1a7890abb9494adb2a4 +EBUILD python-3.13.0_beta2_p5.ebuild 17687 BLAKE2B 73ef79196cca11020cf6426691cf933f63771f2cf48b46de440de62014f99ee66977d481c31e71825bc41a6835697df58711aaab7ec9d665c550cd2f1739c96a SHA512 f940f0fd046cd73473308a8b911a1bdf4f8315c8abf5f00da73650c31d8e9e97904c0de8f7ce4aa6d7e8c49f7319f3726d676eb4fbaf31396eb07dc0ac2a1a10 EBUILD python-3.8.19_p1.ebuild 12170 BLAKE2B bb93535f4876869a58622df01f0c4d4ee4eead693604b9b195965d67933760e3911ab983b4cf1f75f5548b3b228b3353405b4e9029f1434e0e6a91bd01a00fee SHA512 69afe727c59cdb5f8a64c6d6c11ab45c28c8eefad53355d933558573fcdd8dbb6c69f658c5f8f85068bd42200a6f067ed85761afbe3260f45b77874b6761484c -EBUILD python-3.8.19_p2.ebuild 12225 BLAKE2B b39ffe181bfd0928056b9d4463795279ce41a64c2cd8ef2829ec3aeb7093de9b2514d0c2d54fd877f83581b30d659f295cafa6cda88bf4aa68378ce0d1ca75b2 SHA512 b810c88c716b7f71f9c0875cd63da5dda4894f743880432a1d07be42c5fa62a412f51217a3f4003019405791008e9be0e9b43a5d722b98fcb67131283ded9ea3 +EBUILD python-3.8.19_p2.ebuild 12223 BLAKE2B 1ae9ffccf733151b0bba3d57c06c3a826118aff93c2b0262f5b440867782c36ea96153aed359a97319d7291aaf3f7b1bce6b99460a284e83df5121092e79cdc6 SHA512 783f17579b95bfbfcd687577d481ed85cd2d6d63ed30fe351e280ffa156f99dca17175824feb09a4da725232e151cdb3a00b222ee988cf498e885de4170e82a7 EBUILD python-3.9.19_p2.ebuild 13620 BLAKE2B 25ef087c8e4fccf9d2e52fb7b4ba08f3cfe6582d40ab820289a069f54cd06ab2b7a1ec20ff16283485834e73dca0651136d4206bf2ad7b6bbd316542d5ed82fd SHA512 98a73032aad45f9ca6058f7dcd88617554afb1083149b877a858d62d2f4085fdb675b9a22bbf7f08d0029dc6ef0bc1ad2f31c747b5800a65bb4a6b933c85e8d3 -EBUILD python-3.9.19_p3.ebuild 13668 BLAKE2B d818bc29e4036e19d37713b3d79b62b64f49a97425526ac1faa4a9b5a9781c39b75dc79adb7c3dd26e896156e491c66c6f792984d898b652b566a014ee07a713 SHA512 0ece7e46f45563a3f9cb66c6edabc04477647bbd38df2bb5366ff1aa57e2e0ac616e4b361958e1a1e559a89aa20f3f5b31693a239a2f7260bee2193cb8196098 +EBUILD python-3.9.19_p3.ebuild 13667 BLAKE2B c1579e1d0395e677834ce1891f4de07abf4b5156d1e150d2f04dfd5a5a21afa4dde9e5800dc7ba591c3c5d51267c64c60f4ece3b31f583bb320841ce89c649f4 SHA512 9df7d256591e73d71d6b8e3a637d737102ae809534c62d92b69a9fad8cb1ad693730398f5392f03fa5a194c7259143d1e83fdc6bcd872599f322269108af4e66 MISC metadata.xml 1562 BLAKE2B d89ba32e0a261cfa3f185881f83a8bd9434aba2029aca437419d625ed3d025fc3226d4440dfdc34c1c64c42448bb00f903b88d80ac06f2bddf8dd58a7aa66673 SHA512 3fb20f7648db7a5d7080bb9e439b39f90cd0f56bfa24d0b97b9d7966c1062951b9d9d1cea9ec557d7db065cbd53c8a394503616d807b2ea4c5a3ea2c806c0ff2 diff --git a/dev-lang/python/python-3.10.14_p1-r1.ebuild b/dev-lang/python/python-3.10.14_p1-r1.ebuild index d8dac73ea15a..bc8bf7c032eb 100644 --- a/dev-lang/python/python-3.10.14_p1-r1.ebuild +++ b/dev-lang/python/python-3.10.14_p1-r1.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE=" bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.11.9-r1.ebuild b/dev-lang/python/python-3.11.9-r1.ebuild index 8faa8aaa1381..b3aae1c5eb1c 100644 --- a/dev-lang/python/python-3.11.9-r1.ebuild +++ b/dev-lang/python/python-3.11.9-r1.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE=" bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.12.3-r1.ebuild b/dev-lang/python/python-3.12.3-r1.ebuild index 092a62b34918..07331bb69fd2 100644 --- a/dev-lang/python/python-3.12.3-r1.ebuild +++ b/dev-lang/python/python-3.12.3-r1.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE=" bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.12.4_p1.ebuild b/dev-lang/python/python-3.12.4_p1.ebuild index f7e54652dedc..bec993fb2e80 100644 --- a/dev-lang/python/python-3.12.4_p1.ebuild +++ b/dev-lang/python/python-3.12.4_p1.ebuild @@ -556,19 +556,3 @@ src_install() { ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die fi } - -pkg_postinst() { - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 3.11.0_beta4-r2; then - ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc files" - ewarn "installed previously are no longer valid and will be regenerated" - ewarn "(or ignored) on the next import. This may cause sandbox failures" - ewarn "when installing some packages and checksum mismatches when removing" - ewarn "old versions. To actively prevent this, rebuild all packages" - ewarn "installing Python 3.11 modules, e.g. using:" - ewarn - ewarn " emerge -1v /usr/lib/python3.11/site-packages" - fi - done -} diff --git a/dev-lang/python/python-3.13.0_beta2_p3.ebuild b/dev-lang/python/python-3.13.0_beta2_p3.ebuild index 792927c05468..d8206dba60a4 100644 --- a/dev-lang/python/python-3.13.0_beta2_p3.ebuild +++ b/dev-lang/python/python-3.13.0_beta2_p3.ebuild @@ -666,19 +666,3 @@ src_install() { ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die fi } - -pkg_postinst() { - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 3.11.0_beta4-r2; then - ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc files" - ewarn "installed previously are no longer valid and will be regenerated" - ewarn "(or ignored) on the next import. This may cause sandbox failures" - ewarn "when installing some packages and checksum mismatches when removing" - ewarn "old versions. To actively prevent this, rebuild all packages" - ewarn "installing Python 3.11 modules, e.g. using:" - ewarn - ewarn " emerge -1v /usr/lib/python3.11/site-packages" - fi - done -} diff --git a/dev-lang/python/python-3.13.0_beta2_p5.ebuild b/dev-lang/python/python-3.13.0_beta2_p5.ebuild new file mode 100644 index 000000000000..2b50881a163c --- /dev/null +++ b/dev-lang/python/python-3.13.0_beta2_p5.ebuild @@ -0,0 +1,684 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +LLVM_COMPAT=( 18 ) +LLVM_OPTIONAL=1 +WANT_LIBTOOL="none" + +inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing +inherit pax-utils python-utils-r1 toolchain-funcs verify-sig + +MY_PV=${PV/_beta/b} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE=" + bluetooth build +debug +ensurepip examples gdbm +gil jit + libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind +" +REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-crypt/libb2 + >=dev-libs/expat-2.1:= + dev-libs/libffi:= + dev-libs/mpdecimal:= + dev-python/gentoo-common + >=sys-libs/zlib-1.1.3:= + virtual/libcrypt:= + virtual/libintl + ensurepip? ( dev-python/ensurepip-pip ) + gdbm? ( sys-libs/gdbm:=[berkdb] ) + kernel_linux? ( sys-apps/util-linux:= ) + ncurses? ( >=sys-libs/ncurses-5.2:= ) + readline? ( + !libedit? ( >=sys-libs/readline-4.1:= ) + libedit? ( dev-libs/libedit:= ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3= ) + ssl? ( >=dev-libs/openssl-1.1.1:= ) + tk? ( + >=dev-lang/tcl-8.0:= + >=dev-lang/tk-8.0:= + dev-tcltk/blt:= + dev-tcltk/tix + ) +" +# bluetooth requires headers from bluez +DEPEND=" + ${RDEPEND} + bluetooth? ( net-wireless/bluez ) + test? ( + app-arch/xz-utils + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + ) + valgrind? ( dev-debug/valgrind ) +" +# autoconf-archive needed to eautoreconf +BDEPEND=" + dev-build/autoconf-archive + app-alternatives/awk + virtual/pkgconfig + jit? ( + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + ') + ) + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" +RDEPEND+=" + !build? ( app-misc/mime-types ) +" +if [[ ${PV} != *_alpha* ]]; then + RDEPEND+=" + dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] + " +fi + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +# large file tests involve a 2.5G file being copied (duplicated) +CHECKREQS_DISK_BUILD=5500M + +QA_PKGCONFIG_VERSION=${PYVER} +# false positives -- functions specific to *BSD +QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags ) + +pkg_pretend() { + use test && check-reqs_pkg_pretend + + if ! use gil || use jit; then + ewarn "USE=-gil and USE=jit flags are considered experimental upstream. Using" + ewarn "them could lead to unexpected breakage, including race conditions" + ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" + ewarn "you can reproduce the problem with dev-lang/python[gil,-jit]. Instead," + ewarn "please consider reporting freethreading / JIT problems upstream." + fi +} + +pkg_setup() { + use jit && llvm-r1_pkg_setup + use test && check-reqs_pkg_setup +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + # Ensure that internal copies of expat and libffi are not used. + # TODO: Makefile has annoying deps on expat headers + #rm -r Modules/expat || die + + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + default + + # force the correct number of jobs + # https://bugs.gentoo.org/737660 + sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die + + # breaks tests when using --with-wheel-pkg-dir + rm -r Lib/test/wheeldata || die + + eautoreconf +} + +build_cbuild_python() { + # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181 + local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi) + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + # + # -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway) + local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto" + local -x LDFLAGS_NODIST=${BUILD_LDFLAGS} + local -x CFLAGS= LDFLAGS= + local -x BUILD_CFLAGS="${CFLAGS_NODIST}" + local -x BUILD_LDFLAGS=${LDFLAGS_NODIST} + + # We need to build our own Python on CBUILD first, and feed it in. + # bug #847910 + local myeconfargs_cbuild=( + "${myeconfargs[@]}" + + --prefix="${BROOT}"/usr + --libdir="${cbuild_libdir:2}" + + # Avoid needing to load the right libpython.so. + --disable-shared + + # As minimal as possible for the mini CBUILD Python + # we build just for cross to satisfy --with-build-python. + --without-lto + --without-readline + --disable-optimizations + ) + + mkdir "${WORKDIR}"/${P}-${CBUILD} || die + pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die + + # Avoid as many dependencies as possible for the cross build. + mkdir Modules || die + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + _dbm _gdbm + _sqlite3 + _hashlib _ssl + _curses _curses_panel + readline + _tkinter + pyexpat + zlib + # We disabled these for CBUILD because Python's setup.py can't handle locating + # libdir correctly for cross. This should be rechecked for the pure Makefile approach, + # and uncommented if needed. + #_ctypes _crypt + EOF + + ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}" + + # Unfortunately, we do have to build this immediately, and + # not in src_compile, because CHOST configure for Python + # will check the existence of the --with-build-python value + # immediately. + emake + popd &> /dev/null || die +} + +src_configure() { + # disable automagic bluetooth headers detection + if ! use bluetooth; then + local -x ac_cv_header_bluetooth_bluetooth_h=no + fi + + append-flags -fwrapv + filter-flags -malign-double + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + # PKG_CONFIG needed for cross. + tc-export CXX PKG_CONFIG + + local dbmliborder= + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + # Set baseline test skip flags. + COMMON_TEST_SKIPS=( + # failures + -x test_concurrent_futures + -x test_gdb + ) + + # Arch-specific skips. See #931888 for a collection of these. + case ${CHOST} in + alpha*) + COMMON_TEST_SKIPS+=( + -x test_builtin + -x test_capi + -x test_cmath + -x test_float + # timeout + -x test_free_threading + -x test_math + -x test_numeric_tower + -x test_random + -x test_statistics + # bug 653850 + -x test_resource + -x test_strtod + ) + ;; + ia64*) + COMMON_TEST_SKIPS+=( + -x test_ctypes + -x test_external_inspection + ) + ;; + mips*) + COMMON_TEST_SKIPS+=( + -x test_ctypes + -x test_external_inspection + -x test_statistics + ) + ;; + powerpc64-*) # big endian + COMMON_TEST_SKIPS+=( + -x test_descr + ) + ;; + riscv*) + COMMON_TEST_SKIPS+=( + -x test_urllib2 + ) + ;; + sparc*) + COMMON_TEST_SKIPS+=( + # bug 788022 + -x test_multiprocessing_fork + -x test_multiprocessing_forkserver + + -x test_ctypes + -x test_descr + # bug 931908 + -x test_exceptions + ) + ;; + esac + + # musl-specific skips + use elibc_musl && COMMON_TEST_SKIPS+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + + if use pgo; then + local profile_task_flags=( + -m test + "-j$(makeopts_jobs)" + --pgo-extended + --verbose3 + -u-network + + # We use a timeout because of how often we've had hang issues + # here. It also matches the default upstream PROFILE_TASK. + --timeout 1200 + + "${COMMON_TEST_SKIPS[@]}" + + -x test_dtrace + + # All of these seem to occasionally hang for PGO inconsistently + # They'll even hang here but be fine in src_test sometimes. + # bug #828535 (and related: bug #788022) + -x test_asyncio + -x test_httpservers + -x test_logging + -x test_multiprocessing_fork + -x test_socket + -x test_xmlrpc + + # Hangs (actually runs indefinitely executing itself w/ many cpython builds) + # bug #900429 + -x test_tools + + # Fails in profiling run, passes in src_test(). + -x test_capi + ) + + # Arch-specific skips. See #931888 for a collection of these. + case ${CHOST} in + alpha*) + profile_task_flags+=( + -x test_os + ) + ;; + hppa*) + profile_task_flags+=( + -x test_descr + # bug 931908 + -x test_exceptions + -x test_os + ) + ;; + ia64*) + profile_task_flags+=( + -x test_signal + ) + ;; + powerpc64-*) # big endian + profile_task_flags+=( + # bug 931908 + -x test_exceptions + ) + ;; + riscv*) + profile_task_flags+=( + -x test_statistics + ) + ;; + esac + + # musl-specific skips + use elibc_musl && profile_task_flags+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + + if has_version "app-arch/rpm" ; then + # Avoid sandbox failure (attempts to write to /var/lib/rpm) + profile_task_flags+=( + -x test_distutils + ) + fi + local -x PROFILE_TASK="${profile_task_flags[*]}" + fi + + local myeconfargs=( + # glibc-2.30 removes it; since we can't cleanly force-rebuild + # Python on glibc upgrade, remove it proactively to give + # a chance for users rebuilding python before glibc + ac_cv_header_stropts_h=no + + --enable-shared + --without-static-libpython + --enable-ipv6 + --infodir='${prefix}/share/info' + --mandir='${prefix}/share/man' + --with-computed-gotos + --with-dbmliborder="${dbmliborder}" + --with-libc= + --enable-loadable-sqlite-extensions + --without-ensurepip + --without-lto + --with-system-expat + --with-system-libmpdec + --with-platlibdir=lib + --with-pkg-config=yes + --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip + + $(use_with debug assertions) + $(use_enable gil) + $(use_enable jit experimental-jit) + $(use_enable pgo optimizations) + $(use_with readline readline "$(usex libedit editline readline)") + $(use_with valgrind) + ) + + # https://bugs.gentoo.org/700012 + if tc-is-lto; then + append-cflags $(test-flags-CC -ffat-lto-objects) + myeconfargs+=( + --with-lto + ) + fi + + # Force-disable modules we don't want built. + # See Modules/Setup for docs on how this works. Setup.local contains our local deviations. + cat > Modules/Setup.local <<-EOF || die + *disabled* + nis + $(usev !gdbm '_gdbm _dbm') + $(usev !sqlite '_sqlite3') + $(usev !ssl '_hashlib _ssl') + $(usev !ncurses '_curses _curses_panel') + $(usev !readline 'readline') + $(usev !tk '_tkinter') + EOF + + # disable implicit optimization/debugging flags + local -x OPT= + + if tc-is-cross-compiler ; then + build_cbuild_python + myeconfargs+=( + # Point the imminent CHOST build to the Python we just + # built for CBUILD. + --with-build-python="${WORKDIR}"/${P}-${CBUILD}/python + ) + fi + + # pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get + # propagated to sysconfig for built extensions + local -x CFLAGS_NODIST=${CFLAGS} + local -x LDFLAGS_NODIST=${LDFLAGS} + local -x CFLAGS= LDFLAGS= + + # Fix implicit declarations on cross and prefix builds. Bug #674070. + if use ncurses; then + append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw + fi + + econf "${myeconfargs[@]}" + + if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then + eerror "configure has detected that the sem_open function is broken." + eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777." + die "Broken sem_open function (bug 496328)" + fi + + # install epython.py as part of stdlib + echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die +} + +src_compile() { + # Ensure sed works as expected + # https://bugs.gentoo.org/594768 + local -x LC_ALL=C + export PYTHONSTRICTEXTENSIONBUILD=1 + + # Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't + # end up writing bytecode & violating sandbox. + # bug #831897 + local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE} + + if use pgo ; then + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + + addwrite "/usr/lib/python${PYVER}/site-packages" + fi + + # also need to clear the flags explicitly here or they end up + # in _sysconfigdata* + emake CPPFLAGS= CFLAGS= LDFLAGS= + + # Restore saved value from above. + local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE} + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + # this just happens to skip test_support.test_freeze that is broken + # without bundled expat + # TODO: get a proper skip for it upstream + local -x LOGNAME=buildbot + + local test_opts=( + --verbose3 + -u-network + -j "$(makeopts_jobs)" + "${COMMON_TEST_SKIPS[@]}" + ) + + # workaround docutils breaking tests + cat > Lib/docutils.py <<-EOF || die + raise ImportError("Thou shalt not import!") + EOF + + # bug 660358 + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + # workaround https://bugs.gentoo.org/775416 + addwrite "/usr/lib/python${PYVER}/site-packages" + + nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \ + CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty + local ret=${?} + + rm Lib/docutils.py || die + + [[ ${ret} -eq 0 ]] || die "emake test failed" +} + +src_install() { + local libdir=${ED}/usr/lib/python${PYVER} + + # the Makefile rules are broken + # https://github.com/python/cpython/issues/100221 + mkdir -p "${libdir}"/lib-dynload || die + + # -j1 hack for now for bug #843458 + emake -j1 DESTDIR="${D}" altinstall + + # Fix collisions between different slots of Python. + rm "${ED}/usr/$(get_libdir)/libpython3.so" || die + + # Cheap hack to get version with ABIFLAGS + local abiver=$(cd "${ED}/usr/include"; echo python*) + if [[ ${abiver} != python${PYVER} ]]; then + # Replace python3.X with a symlink to python3.Xm + rm "${ED}/usr/bin/python${PYVER}" || die + dosym "${abiver}" "/usr/bin/python${PYVER}" + # Create python3.X-config symlink + dosym "${abiver}-config" "/usr/bin/python${PYVER}-config" + # Create python-3.5m.pc symlink + dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc" + fi + + # python seems to get rebuilt in src_install (bug 569908) + # Work around it for now. + if has_version dev-libs/libffi[pax-kernel]; then + pax-mark E "${ED}/usr/bin/${abiver}" + else + pax-mark m "${ED}/usr/bin/${abiver}" + fi + + rm -r "${libdir}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${libdir}"/ensurepip || die + fi + if ! use sqlite; then + rm -r "${libdir}/"sqlite3 || die + fi + if ! use tk; then + rm -r "${ED}/usr/bin/idle${PYVER}" || die + rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die + fi + + ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die + + dodoc Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + docinto examples + find Tools -name __pycache__ -exec rm -fr {} + || die + dodoc -r Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$( + printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | + emake --no-print-directory -s -f - 2>/dev/null + ) + newins Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER} + newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${PYVER}:" \ + -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ + "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" + + # python-exec wrapping support + local pymajor=${PYVER%.*} + local EPYTHON=python${PYVER} + local scriptdir=${D}$(python_get_scriptdir) + mkdir -p "${scriptdir}" || die + # python and pythonX + ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die + ln -s "python${pymajor}" "${scriptdir}/python" || die + # python-config and pythonX-config + # note: we need to create a wrapper rather than symlinking it due + # to some random dirname(argv[0]) magic performed by python-config + cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die + #!/bin/sh + exec "${abiver}-config" "\${@}" + EOF + chmod +x "${scriptdir}/python${pymajor}-config" || die + ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die + # pydoc + ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die + # idle + if use tk; then + ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die + fi +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 3.13.0_beta2; then + ewarn "Python 3.13.0b2 has changed its module ABI. The .pyc files" + ewarn "installed previously are no longer valid and will be regenerated" + ewarn "(or ignored) on the next import. This may cause sandbox failures" + ewarn "when installing some packages and checksum mismatches when removing" + ewarn "old versions. To actively prevent this, rebuild all packages" + ewarn "installing Python 3.13 modules, e.g. using:" + ewarn + ewarn " emerge -1v /usr/lib/python3.13/site-packages" + fi + done +} diff --git a/dev-lang/python/python-3.8.19_p2.ebuild b/dev-lang/python/python-3.8.19_p2.ebuild index 2a490a407fa3..58a211df31ee 100644 --- a/dev-lang/python/python-3.8.19_p2.ebuild +++ b/dev-lang/python/python-3.8.19_p2.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE=" bluetooth build debug +ensurepip examples gdbm +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.9.19_p3.ebuild b/dev-lang/python/python-3.9.19_p3.ebuild index 603a9680996d..159b35baecf4 100644 --- a/dev-lang/python/python-3.9.19_p3.ebuild +++ b/dev-lang/python/python-3.9.19_p3.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE=" bluetooth build debug +ensurepip examples gdbm +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 41781d805c75..b7fe711a8fad 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -14,6 +14,7 @@ AUX 3.2/901-musl-stacksize.patch 749 BLAKE2B 422d53ef7fc1e76bd7466ff67da7cefd366 AUX 3.2/902-hppa-pthread-stack-size.patch 1690 BLAKE2B 84c8478a69e108c68f96eeb0f36b1f94e069193ce124c0ca5c6143c0c9a2f0c62c7927a1a61a85270f449d03b4c6f5bd735e02ce1da1df0749602e655f177778 SHA512 d871b1c0a5d58bb197def0e00310e38fc145520dbbd1245079b2ebab0f89878f21a22f27c388fe2a7557244db28f0acb97edddf9bdf4adbeb00327e01c5215a6 AUX 3.3/010-default-gem-location.patch 356 BLAKE2B f44459799fff80c7f14e5e7d674ee9ed22863cdb84838e0fad55a66f615fa91e3e4de30377c04a385927feea67c6046c837eb7a647fbe162685309ea3f9ea420 SHA512 894075663d409a117ad94abd63d6562c90b87a725ef56d02ad7c187532b99a56128be2f5f64d0e72763d1c14213707de84c920415107df875218489796bc4a5a AUX 3.3/011-arm64-branch-protection.patch 1223 BLAKE2B 57ec142850e430f51aeca7c4f70ad9bac22a2a3fdd99616d8718520588b0f23e07f4c0ddfacc02edb9349fb0af38fcfc5b1b288dddedd4f6918511a5398980f3 SHA512 6fff70749a8b3eb6cd1b05a4b667613ead00097ecf4674fad710f3c785c97d55989a703569f0a041f1d75b82dbeb8f80bb9eef9b581e4ef3dd1c9907f6cc2634 +AUX 3.3/012-mkdir-path.patch 334 BLAKE2B 13410c0946849ac2bd983c86854846cd50112093c0a196337933c4fd3859d975e3e24a21936682e4a579e8c4fd7b9a8ac8e21dda814b6d204e6a9e14405f6e1c SHA512 6a2276a4749bef46dcdfe4326f8995a746fd5547d62584f77533fa2117a3a830ea816b52c823eb63bd101fca507c179aa469f2b0529a24b4379bfafaf83823f7 AUX 3.3/901-musl-stacksize.patch 749 BLAKE2B 422d53ef7fc1e76bd7466ff67da7cefd3665282ce0e29d16e2455e8f2bcbe081c0b9d31119eed6d6b53f6200fa72d623e9c04e0ebd6594397cf1dad344e8049a SHA512 f9ad0a50a0672a88b89cba9c452c090e0fe47fe41c640951b1b14970e1219a27c9ef3a1b53650b135d607830ae7a09b6a8916e45263415b58122c07262e90b1b AUX 3.3/902-hppa-pthread-stack-size.patch 1690 BLAKE2B 84c8478a69e108c68f96eeb0f36b1f94e069193ce124c0ca5c6143c0c9a2f0c62c7927a1a61a85270f449d03b4c6f5bd735e02ce1da1df0749602e655f177778 SHA512 d871b1c0a5d58bb197def0e00310e38fc145520dbbd1245079b2ebab0f89878f21a22f27c388fe2a7557244db28f0acb97edddf9bdf4adbeb00327e01c5215a6 DIST ruby-3.1.4.tar.xz 15316604 BLAKE2B 5d771c267451c05ae192991976957d43d1131e652ac5a90a8dfff9deba97cf6b139d0113f5d2ed44225a545aa79a1c732555de1efc83d1010d097ec35f7e92dd SHA512 a627bb629a10750b8b2081ad451a41faea0fc85d95aa1e267e3d2a0f56a35bb58195d4a8d13bbdbd82f4197a96dae22b1cee1dfc83861ec33a67ece07aef5633 @@ -24,6 +25,7 @@ DIST ruby-3.2.4.tar.xz 15175656 BLAKE2B 9c2300a958b03528d51f0d74a069c8c538ca4009 DIST ruby-3.3.0.tar.xz 16345456 BLAKE2B 09ef6fb4b2768118207e7a9ece17c5c62c9f596b1c13ac6199245889fcc5d25f03336831ec3bf1367a460a8a26c4426c32bcd576b0da8bdafc90301032b4d2f0 SHA512 7959c5753bfa0bfc4d6d74060869aabbe9815c1c97930659da11b917ee0803ddbbd80e869e00c48b8694b4ba48709c3b6493fd045568e36e902616c35ababf01 DIST ruby-3.3.1.tar.xz 16350792 BLAKE2B f3591d2420edd8c1d5b365d1442fcc07c014e402478dce01a80b81c16c3c7083bcd3e9e9aa0f8d586cd482f0f18eb64ad813ea31755f5d12b137ce03b1a0fa4c SHA512 c58e9be9b5ab48191fbf7d67e13f0ec42ee71ed338170e0f7b246708e9cfc617ce65098f5ce7ab32d4305e785642d3e44253462104d5b9c4abcb1a4113f48347 DIST ruby-3.3.2.tar.xz 16349500 BLAKE2B 2a474df10363555e8f0b9ad73bb854ad34f3d1485b8bdde833c999b20bc2c17282d2097d887d10f454bbd4dfdf08f04bb644a7e41d0b4a0ff0e9eb144339b5e8 SHA512 70dd8eb933956f894c52a8ede42e8ee74ff0e062bd8134a0bfb6bffc83a2848a658b62c8df5530b4dd64087b2d5373909c48917528facb1e6f4e99e79b6ad449 +DIST ruby-3.3.3.tar.xz 16361160 BLAKE2B e1dbb8f0d5de4b2d7efe3f68c1ea7f28e4fac19dcd9d6d5e301e5c565474958a916ea5f21ef2ce0d741d4d9c45a546dd3d00b3ca3d1eccfaf61f20eba3c871a7 SHA512 27dcae604e6613e1eaa20c6a75ee88b970bb0dd584d9bc0c021ad8da4340858e3c2e874ac841fcca0b0444a0c0146c4650d2d22bac3c9e12853533c37255f8f1 EBUILD ruby-3.1.4-r3.ebuild 8352 BLAKE2B f3a592bd500c5319ca351544666a87446ad794158e3271076b8bcbec1e827ab8d9f7e70e1a0c4548e203d3a758a29e0d790285ff48d99b69816c6107d0d03bdf SHA512 e191ef30979b3fb967379345474609382629e555040b388c92fe54e45b3afd097b1e7c9f4bbbf611b740d799cd1c26973a6aec60dcc35c54c9182f3911a47485 EBUILD ruby-3.1.4-r5.ebuild 8504 BLAKE2B 2ee7c9aef7c65d9601cd31918addaa7a42bf806d08237f75e894db1e564e6fc282892c2c517badf366cd0584debcb51d0c754353af656d26bdc94389d5ea7e01 SHA512 1fb62ce8b8fc7288a954abe23af104ce7bc9124c157f4dcf68fd499d7f103bc8b396fdb5089431b4cf7c76c9c7adabe11f3a4f9b172c1d12c14165ec2de8d306 EBUILD ruby-3.1.5.ebuild 8595 BLAKE2B 3956931b74ea380a9e5b9b8215b03d1a4337e6cdddac8386d112742bb6657599a6395995ea91b30d7b785e42b00abb553062371034e18010773a6def687b2569 SHA512 c66eb7a8a0ef8fba548605430b99d796cf83dad26810c53e2cdd557c09387c386c4ecb5e7e436e54fc91bd9969b8ed37fc9135b133cee634b74960035daf1f4f @@ -33,4 +35,5 @@ EBUILD ruby-3.2.4.ebuild 9539 BLAKE2B 220d080210da68223c34bb36cf27f4ba67abce2aeb EBUILD ruby-3.3.0-r2.ebuild 9312 BLAKE2B 547e2853e5a53f762d8ac6abb7c721ea3221d645d3717354d8c92059dd3417f71611e104b2c1c0fadbd14b86174312483e83768ebbd70fa787b423ce59deba9c SHA512 7e250ef083f3f5f5bcd12db3080eedbd99dc6d7033da8846306d0f4a4ce6763baaabbf25171d2b69830f69a52bbdbd3a11b31f3849af860e6b6d8001502ea97e EBUILD ruby-3.3.1.ebuild 9269 BLAKE2B 3f9971414512fb66be404c5a7ed5553e8b581b5f19874d7ab733d5d6aad3cca489163764d3bc2aa81a6f5d2981026290e4a197cf4b3712218741b4aede3268ee SHA512 44419e0bac61f0e9215e4c131ede309b08ef3d021c476899c0adadf35d54d661e86beb75a5e80a95dc7915131b748823e9ea5b53af3f8bce6fb7ac11c178690c EBUILD ruby-3.3.2.ebuild 9269 BLAKE2B 3f9971414512fb66be404c5a7ed5553e8b581b5f19874d7ab733d5d6aad3cca489163764d3bc2aa81a6f5d2981026290e4a197cf4b3712218741b4aede3268ee SHA512 44419e0bac61f0e9215e4c131ede309b08ef3d021c476899c0adadf35d54d661e86beb75a5e80a95dc7915131b748823e9ea5b53af3f8bce6fb7ac11c178690c +EBUILD ruby-3.3.3.ebuild 9313 BLAKE2B 1c5b002f508615eb215373bdffcda1b3b9e31721dc4e84c8e26b89ee6d50ec9083d303a30693e7dc112023d2a8f1ef5c839aae138e2599718557874ed5a188d2 SHA512 9595ef7701534114468725f6c07558abd8e4144effdbfc160fd406c7a95d141a2d657285fef8ff48e25832715abe781aa91920522ab28e7d7f215e8b1284e383 MISC metadata.xml 504 BLAKE2B ca7743b107a6825dd029e0798cf1b0d048e3ce730382245565692e9242d09553db2c09edd1d09195602d9d96167c8606f3e7ddd5a27e1473eb9e4fbbc9074d1d SHA512 c2cf0a52fe03067cc09edc660d981af2465e4a733e53ad601d0e6377fa61072a60be4ec916cae94023328600e52a29f18621b47e839bddc897fa00db44feb9b1 diff --git a/dev-lang/ruby/files/3.3/012-mkdir-path.patch b/dev-lang/ruby/files/3.3/012-mkdir-path.patch new file mode 100644 index 000000000000..6fd28e01bd76 --- /dev/null +++ b/dev-lang/ruby/files/3.3/012-mkdir-path.patch @@ -0,0 +1,13 @@ +--- a/configure.ac 2024-05-30 02:23:11.000000000 +0200 ++++ b/configure.ac 2024-06-01 10:10:07.602924940 +0200 +@@ -519,6 +519,10 @@ + ac_cv_path_mkdir="mkdir" + ]) + ++AS_CASE(["$target_os"],[*],[ ++ ac_cv_path_mkdir="mkdir" ++]) ++ + RUBY_PROG_MAKEDIRS + + AC_CHECK_PROG([DTRACE], [${ac_tool_prefix}dtrace], [${ac_tool_prefix}dtrace]) diff --git a/dev-lang/ruby/ruby-3.3.3.ebuild b/dev-lang/ruby/ruby-3.3.3.ebuild new file mode 100644 index 000000000000..470d6f8bf570 --- /dev/null +++ b/dev-lang/ruby/ruby-3.3.3.ebuild @@ -0,0 +1,294 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multiprocessing + +MY_P="${PN}-$(ver_cut 1-3)" +S=${WORKDIR}/${MY_P} + +SLOT=$(ver_cut 1-2) +MY_SUFFIX=$(ver_rs 1 '' ${SLOT}) +RUBYVERSION=${SLOT}.0 + +DESCRIPTION="An object-oriented scripting language" +HOMEPAGE="https://www.ruby-lang.org/" +SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs" + +RDEPEND=" + berkdb? ( sys-libs/db:= ) + gdbm? ( sys-libs/gdbm:= ) + jemalloc? ( dev-libs/jemalloc:= ) + jit? ( >=virtual/rust-1.58.1 ) + ssl? ( + dev-libs/openssl:0= + ) + socks5? ( >=net-proxy/dante-1.1.13 ) + systemtap? ( dev-debug/systemtap ) + tk? ( + dev-lang/tcl:0=[threads] + dev-lang/tk:0=[threads] + ) + dev-libs/libyaml + dev-libs/libffi:= + sys-libs/zlib + virtual/libcrypt:= + >=app-eselect/eselect-ruby-20231226 +" + +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" + +BUNDLED_GEMS=" + >=dev-ruby/debug-1.9.1[ruby_targets_ruby33(-)] + >=dev-ruby/irb-1.11.0[ruby_targets_ruby33(-)] + >=dev-ruby/matrix-0.4.2[ruby_targets_ruby33(-)] + >=dev-ruby/minitest-5.20.0[ruby_targets_ruby33(-)] + >=dev-ruby/net-ftp-0.3.3[ruby_targets_ruby33(-)] + >=dev-ruby/net-imap-0.4.9[ruby_targets_ruby33(-)] + >=dev-ruby/net-pop-0.1.2[ruby_targets_ruby33(-)] + >=dev-ruby/net-smtp-0.4.0[ruby_targets_ruby33(-)] + >=dev-ruby/power_assert-2.0.3[ruby_targets_ruby33(-)] + >=dev-ruby/prime-0.1.2[ruby_targets_ruby33(-)] + >=dev-ruby/racc-1.7.3[ruby_targets_ruby33(-)] + >=dev-ruby/rake-13.1.0[ruby_targets_ruby33(-)] + >=dev-ruby/rbs-3.4.0[ruby_targets_ruby33(-)] + >=dev-ruby/rexml-3.2.8[ruby_targets_ruby33(-)] + >=dev-ruby/rss-0.3.0[ruby_targets_ruby33(-)] + >=dev-ruby/test-unit-3.6.1[ruby_targets_ruby33(-)] + >=dev-ruby/typeprof-0.21.9[ruby_targets_ruby33(-)] +" + +PDEPEND=" + ${BUNDLED_GEMS} + virtual/rubygems[ruby_targets_ruby33(-)] + >=dev-ruby/bundler-2.5.11[ruby_targets_ruby33(-)] + >=dev-ruby/did_you_mean-1.6.3[ruby_targets_ruby33(-)] + >=dev-ruby/json-2.7.1[ruby_targets_ruby33(-)] + >=dev-ruby/rdoc-6.6.2[ruby_targets_ruby33(-)] + xemacs? ( app-xemacs/ruby-modes ) +" + +src_prepare() { + eapply "${FILESDIR}"/"${SLOT}"/010*.patch + eapply "${FILESDIR}"/"${SLOT}"/012*.patch + eapply "${FILESDIR}"/"${SLOT}"/902*.patch + + if use elibc_musl ; then + eapply "${FILESDIR}"/${SLOT}/901-musl-*.patch + fi + + einfo "Unbundling gems..." + cd "$S" + # Remove bundled gems that we will install via PDEPEND, bug + # 539700. + rm -fr gems/* || die + touch gems/bundled_gems || die + + # Avoid the irb default gemspec since we will install the normal gem + # instead. This avoids a file collision with dev-ruby/irb. + rm lib/irb/irb.gemspec || die + + # Remove tests that are known to fail or require a network connection + rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die + rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb \ + spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die + + # Remove webrick tests because setting LD_LIBRARY_PATH does not work for them. + rm -rf tool/test/webrick || die + + # Avoid test using the system ruby + sed -i -e '/test_dumb_terminal/aomit "Uses system ruby"' test/reline/test_reline.rb || die + + # Avoid testing against hard-coded blockdev devices that most likely are not available + sed -i -e '/def blockdev/a@blockdev = nil' test/ruby/test_file_exhaustive.rb || die + + # Avoid tests that require gem downloads + sed -e '/^\(test-syntax-suggest\|PREPARE_SYNTAX_SUGGEST\)/ s/\$(TEST_RUNNABLE)/no/' \ + -i common.mk + + # Avoid test that fails intermittently + sed -e '/test_gem_exec_gem_uninstall/aomit "Fails intermittently"' \ + -i test/rubygems/test_gem_commands_exec_command.rb || die + + if use prefix ; then + # Fix hardcoded SHELL var in mkmf library + sed -i -e "s#\(SHELL = \).*#\1${EPREFIX}/bin/sh#" lib/mkmf.rb || die + + if [[ ${CHOST} == *darwin* ]] ; then + # avoid symlink loop on Darwin (?!) + sed -i \ + -e '/LIBRUBY_ALIASES=/s/lib$(RUBY_INSTALL_NAME).$(SOEXT)//' \ + configure.ac || die + + # make ar/libtool hack for Darwin work + sed -i \ + -e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \ + configure.ac || die + + # disable using security framework (GCC barfs on those headers) + sed -i \ + -e 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \ + random.c || die + fi + fi + + eapply_user + + eautoreconf +} + +src_configure() { + local modules="win32,win32ole" myconf= + + # Ruby's build system does interesting things with MAKEOPTS and doesn't + # handle MAKEOPTS="-Oline" or similar well. Just filter it all out + # and use -j/-l parsed out from the original MAKEOPTS, then use that. + # Newer Portage sets this option by default in GNUMAKEFLAGS if nothing + # is set by the user in MAKEOPTS. See bug #900929 and bug #728424. + local makeopts_tmp="-j$(makeopts_jobs) -l$(makeopts_loadavg)" + unset MAKEOPTS MAKEFLAGS GNUMAKEFLAGS + export MAKEOPTS="${makeopts_tmp}" + + # -fomit-frame-pointer makes ruby segfault, see bug #150413. + filter-flags -fomit-frame-pointer + # In many places aliasing rules are broken; play it safe + # as it's risky with newer compilers to leave it as it is. + append-flags -fno-strict-aliasing + + # Socks support via dante + if use socks5 ; then + # Socks support can't be disabled as long as SOCKS_SERVER is + # set and socks library is present, so need to unset + # SOCKS_SERVER in that case. + unset SOCKS_SERVER + fi + + # Increase GC_MALLOC_LIMIT if set (default is 8000000) + if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then + append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" + fi + + # Determine which modules *not* to build depending in the USE flags. + if ! use berkdb ; then + modules="${modules},dbm" + fi + if ! use gdbm ; then + modules="${modules},gdbm" + fi + if ! use ssl ; then + modules="${modules},openssl" + fi + if ! use tk ; then + modules="${modules},tk" + fi + + # Provide an empty LIBPATHENV because we disable rpath but we do not + # need LD_LIBRARY_PATH by default since that breaks USE=multitarget + # #564272 + INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \ + --program-suffix=${MY_SUFFIX} \ + --with-soname=ruby${MY_SUFFIX} \ + --enable-shared \ + --enable-pthread \ + --disable-rpath \ + --without-baseruby \ + --with-compress-debug-sections=no \ + --enable-mkmf-verbose \ + --with-out-ext="${modules}" \ + $(use_with jemalloc jemalloc) \ + $(use_enable jit jit-support) \ + $(use_enable jit yjit) \ + $(use_enable socks5 socks) \ + $(use_enable systemtap dtrace) \ + $(use_enable doc install-doc) \ + $(use_enable static-libs static) \ + $(use_enable static-libs install-static-library) \ + $(use_with static-libs static-linked-ext) \ + $(use_enable debug) \ + ${myconf} \ + $(use_with valgrind) \ + --enable-option-checking=no + + # Makefile is broken because it lacks -ldl + rm -rf ext/-test-/popen_deadlock || die +} + +src_compile() { + local -x LD_LIBRARY_PATH="${S}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS="" +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake V=1 check +} + +src_install() { + # Remove the remaining bundled gems. We do this late in the process + # since they are used during the build to e.g. create the + # documentation. + einfo "Removing default gems before installation" + rm -rf lib/bundler* lib/rdoc/rdoc.gemspec || die + + # Ruby is involved in the install process, we don't want interference here. + unset RUBYOPT + + local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) + + local -x LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + + if [[ ${CHOST} == *darwin* ]] ; then + local -x DYLD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${DYLD_LIBRARY_PATH+:}${DYLD_LIBRARY_PATH}" + fi + + local -x RUBYLIB="${S}:${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}" + for d in $(find "${S}/ext" -type d) ; do + RUBYLIB="${RUBYLIB}:$d" + done + + # Create directory for the default gems + local gem_home="${EPREFIX}/usr/$(get_libdir)/ruby/gems/${RUBYVERSION}" + mkdir -p "${D}/${gem_home}" || die "mkdir gem home failed" + + emake V=1 DESTDIR="${D}" GEM_DESTDIR=${gem_home} install + + # Remove installed rubygems and rdoc copy + rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" + rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed" + rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" + rm -rf "${ED}/usr/bin/"{bundle,bundler,ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" + + if use doc; then + emake DESTDIR="${D}" GEM_DESTDIR=${gem_home} install-doc + fi + + if use examples; then + dodoc -r sample + fi + + dodoc ChangeLog NEWS.md README* + dodoc -r doc +} + +pkg_postinst() { + if [[ ! -n $(readlink "${EROOT}"/usr/bin/ruby) ]] ; then + eselect ruby set ruby${MY_SUFFIX} + fi + + elog + elog "To switch between available Ruby profiles, execute as root:" + elog "\teselect ruby set ruby(30|31|...)" + elog +} + +pkg_postrm() { + eselect ruby cleanup +} diff --git a/dev-lang/vala/Manifest b/dev-lang/vala/Manifest index 84f05953f036..8b81d4922edf 100644 --- a/dev-lang/vala/Manifest +++ b/dev-lang/vala/Manifest @@ -1,5 +1,5 @@ DIST vala-0.56.16.tar.xz 4013716 BLAKE2B 509809a93c70fd6a153fc188aaa3d85cbcc8d37649711ea32521505eb0bdc3fe824d90c538aaa7a7caa1c4faaea9053693b28ae54bdd6c212539a70300f2c33e SHA512 99f69c3c7a5ed89923b55cf035c6d9a5867577b2ecff92dddf5f21aaad1281786e5fcd775833b0f251417caf857f5fe7efbf134fbded427a7b29fa3acb00203a DIST vala-0.56.17.tar.xz 4016576 BLAKE2B c4b8d5b7c810893728f82d2cbbf2f0dd70ad17bd4eeb323ab5d31d99f37b5a5508b7d2447f0249f3a925013d7110bb6f145b32c833b990b15f18d9949035293f SHA512 61df98ba6b15d589a1864598a6f69cc3bee9154ba65270fc3a2fb1d0c3a68c32c29b572bcc26d6616d3fa23d53fb41710af3636125507864dd17f47cf27d4723 -EBUILD vala-0.56.16.ebuild 1004 BLAKE2B effba5cad2636cfe31ea8e1fb61794d9ddcccf469538472c3baed961532de2585abce84858773422a666a520069b1818af137bc2fb45a859d9b0cc432f0af4f3 SHA512 ca3a6bed514c4819ece3eb5888e930853f230e7b72d6e8e929f19f629caf524befcdc9a35f4ba01e16d1dd8b12af3d8a4a578e7d93548b2194e4d805599f8fac +EBUILD vala-0.56.16.ebuild 1003 BLAKE2B ebe07d1841b6d26d6accc34681eb7f431be9e6bcfaee58e7426f93ce4c9830584434a4878809372aa40d33a09e85f2fa2b096987b53501f065c8a86f94005c5d SHA512 8cf49a4f16eb79a2d0763b05d5bf151b56747cc705e58c8b6551b22e4774f44b9bd5a3e51f85404cfcda08a7cfd8fb5fe6f98fc0b742ebe464a22170c5743baf EBUILD vala-0.56.17.ebuild 1011 BLAKE2B 3bcb6a05f273a5e2a4d115e301885785fb0a843e61f5bdb258cf6e1a884c4f8e887d88450f18ffd843f4a364d431e4a4636a324db88bcacbed15b88b2818fedf SHA512 191e006e72ea2a97700bd399767da93c1d552fecde47718a18f965970f79b243e9205cd6efa0e9dc47abc2854f66892f0bf96021dee17d7762d48192a6e41d05 MISC metadata.xml 441 BLAKE2B a67ac153219c809b992ad569958248e09fe402e33526f2c9a8e5ef4908a5496a0018894605f2d649e191bb84db59294526bb14a06e59f4cfca335dcbf18e15f8 SHA512 97774503c4e5cbce834f11865cea98e45b244566373d8a7efca73d18346d425b49a3b96cda02a61484a8c906d9f27d735c2a9899701b95d0a5f62b9df12365f9 diff --git a/dev-lang/vala/vala-0.56.16.ebuild b/dev-lang/vala/vala-0.56.16.ebuild index 3968a764f030..1234cf3876c2 100644 --- a/dev-lang/vala/vala-0.56.16.ebuild +++ b/dev-lang/vala/vala-0.56.16.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Vala https://gitlab.gnome.org/GNOME/va LICENSE="LGPL-2.1+" SLOT="0.56" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" IUSE="test valadoc" RESTRICT="!test? ( test )" |