diff --git a/dev-python/BTrees/BTrees-5.1.ebuild b/dev-python/BTrees/BTrees-5.1.ebuild new file mode 100644 index 0000000000..571aab9e6b --- /dev/null +++ b/dev-python/BTrees/BTrees-5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="scalable persistent components" +HOMEPAGE="https://github.com/zopefoundation/BTrees" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/" || die +} diff --git a/dev-python/BTrees/Manifest b/dev-python/BTrees/Manifest index a756eacf9d..97b18679dd 100644 --- a/dev-python/BTrees/Manifest +++ b/dev-python/BTrees/Manifest @@ -1 +1,2 @@ DIST BTrees-5.0.tar.gz 198089 BLAKE2B c571ee1e2e54b3a978acb25d932ed23a78f78653efc7567f310a98843d8f65150e84bd6f39824726bcc1230fa28a1c0f1359b5f2777ac00d6ce97a1662336e54 SHA512 4b90fb8769f8bacc02fd610c829b69cbb94f6a6fd146279ad06904e479ffc19e82cc37fff10ccf818a8ea8f6b2a19cd29021debb4d70ccb7a5a52fe54c0074b4 +DIST BTrees-5.1.tar.gz 245950 BLAKE2B dc0d5e5516aa94bf1a32287f5c845497f3ccd7eddc25037f200a73767992c40c5bc38e134add0d8e10a291c78988f3cb96cd337e26a08ecb00dbe8fd74d865ae SHA512 57b48b449fe174f80f81411e47e0bc2fb188de813720d101907280ceaa32c311dd290128f1f71997b5c1bb2bc45a78399070668855ac1f4e23ed65495835aaa8 diff --git a/dev-python/persistent/Manifest b/dev-python/persistent/Manifest index 0a549ecccd..6a8bc19514 100644 --- a/dev-python/persistent/Manifest +++ b/dev-python/persistent/Manifest @@ -1 +1,2 @@ DIST persistent-5.0.gh.tar.gz 115137 BLAKE2B 6d84cc1e81f033349b9943bb02376f58baccffebe1d7747da687dde6ad0a15f225c0f45c80aacd4de4dc15009f6502e0c0ea5e90d6697c5d1eaa0528dca2691a SHA512 561c339574817f70d1e5b091d77e3cd7a876a49742938591cfffdf4ec5a6ae23b4a7b4e7ff7d90d15763ce9485c093ff019699364952974e9ffe4da88bcf293f +DIST persistent-5.1.gh.tar.gz 115547 BLAKE2B a7793f6af1ee975db0fffc9c41b7d2394cf9e02f9c012be28538db8356510b52c89fe41bccd6abba296f6c2915633dccbbe4d534fb9a3bfebcc891e6afc532d1 SHA512 1dfeefa0437d37b075b9fdbec7a2e7cc8e7bb665b46e384204bf922fe13fc4280a6e0b419d97c9899725db478ac8589ed7f22887f267e58f418baa26f921e318 diff --git a/dev-python/persistent/persistent-5.1.ebuild b/dev-python/persistent/persistent-5.1.ebuild new file mode 100644 index 0000000000..13865178d7 --- /dev/null +++ b/dev-python/persistent/persistent-5.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="automatic persistence for Python objects" +HOMEPAGE="https://github.com/zopefoundation/persistent" +SRC_URI="https://github.com/zopefoundation/persistent/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + doc? ( dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] ) + test? ( + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +src_unpack() { + default + # Fix broken test + sed -i -e 's/from \.\./from persistent/' "${S}/src/persistent/tests/test_ring.py" || die + # Disable tests that fail + sed -z -i -e "s/def test__p_repr_exception.*_p_repr failed')>\")//g" \ + "${S}/src/persistent/tests/test_persistence.py" || die + sed -z -i -e "s/def test__p_repr_in_instance_ignored.*repr(p)//g" \ + "${S}/src/persistent/tests/test_persistence.py" || die +} + +src_test() { + cd "${S}/src/persistent" || die + distutils-r1_src_test +} diff --git a/dev-python/zodbpickle/Manifest b/dev-python/zodbpickle/Manifest index 6639eb4ba1..c9bc43ee23 100644 --- a/dev-python/zodbpickle/Manifest +++ b/dev-python/zodbpickle/Manifest @@ -1 +1,2 @@ DIST zodbpickle-3.0.1.tar.gz 111068 BLAKE2B 32e5bb09f6fc97a6b5ecc865e750adef6fe60ab52d6dd3c8807920859d63749c6ed77a99c7bce5515f8e0839e03d845eec60712444bee90f37f6a9ebfaaa24c0 SHA512 f3b9fd019a175ec8eb8cb3d1d3c05a8f142f6b0842affb8d1b910bea0af0216c799608355dbce4bb236a6b3732634fe81744ffeb27c23cd9cad267255cfed253 +DIST zodbpickle-3.1.tar.gz 111254 BLAKE2B d552c5bd8351afaab4d4c48cfb174b14deb7df99379e5adb59ff93c5a8521c3f4cdb05e1dc6e8553dded292e55729d7ac6168f372fda3f4bcd06d943b097b75e SHA512 983261093ca0382ab0a925e1ab2cc31ff6d7f070f540881b1058cfe13ad27355902cad30b2ce80ab29a94d7b99f8170f9b8db20c7c93b32dd1db23aaf521ab82 diff --git a/dev-python/zodbpickle/zodbpickle-3.1.ebuild b/dev-python/zodbpickle/zodbpickle-3.1.ebuild new file mode 100644 index 0000000000..1e6b80ac7f --- /dev/null +++ b/dev-python/zodbpickle/zodbpickle-3.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 edo pypi + +DESCRIPTION="Fork of Python's pickle module to work with ZODB" +HOMEPAGE=" + https://pypi.org/project/zodbpickle/ + https://github.com/zopefoundation/zodbpickle +" + +LICENSE="PSF-2 ZPL" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + edo ${EPYTHON} -m zope.testrunner --test-path=src -vv +} diff --git a/dev-util/git-bug/Manifest b/dev-util/git-bug/Manifest index 3e6a902d9f..3c440cb309 100644 --- a/dev-util/git-bug/Manifest +++ b/dev-util/git-bug/Manifest @@ -1,5 +1,7 @@ DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273 DIST git-bug-0.7.2.tar.gz 1933613 BLAKE2B a57342aa6db577f310036327e652dfd0b9f9627fb2bc8e366b3be6a90e67502c7c14c67571d8a297a28bb7b6c4e0afc8b047c120c231d8d620d06b7180d5e9fe SHA512 85dac95e09dc0946afafc8bcec303b1bcaac36081bb8c8057e767c57a488496c2e6971b7fcf257903a6021da54f946a7475a72e999e142645f29f7e228570ab2 +DIST git-bug-0.8.0-vendor.tar.xz 3541424 BLAKE2B 32910fe4a6ce02be5bb2a3eed7d4d8cd8ce2087210f5d312182a2f5fc6144217d4dff90d290ad91b886fb28e88a43cab21a0c0efb0d90f25118aa4d530fde915 SHA512 a9b1da5c87174e0ce5e1d48e9ee6a5fea106bf2d8654e1c3708a058548de9adb38f8ed3c1fa50244375db2779f41fb7a147529247ad9a623954bdc77df4a39fb +DIST git-bug-0.8.0.tar.gz 2557779 BLAKE2B 5fd29aec937bc590455164afc2a8ddf09d9acd47e2dc33804ede62df74048a53af13763c14387dfb94993ec9384c940c741618936f5beeb2c0e068a2bf8ff40b SHA512 85456c916f72c0d2764ccd09418d2db91a9aeed48182de12d6aaec7cd021c55ec323822e4aa9347739cfe232ff2287e1bc7adca37ff2574d822b78fc75121d83 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 DIST github.com%2F!masterminds%2Fglide%2F@v%2Fv0.13.2.mod 36 BLAKE2B 90eea1d6bfb78f872b781706703178c3c010c549c94e28eac0b3ca2ca2ee4bf126bb5320fa8bc0c22aa2aeebb2361572081014253d12a0a8dcfcf28ee607a554 SHA512 37cffb84d5a0e51f4306f042f62a549cbac31f714b497a590149c78d1a16d9b9fb7c3ea9c4c89856dc38b1548fe18afbb537628f0c511faab6a4eb631bcbf43f DIST github.com%2F!masterminds%2Fsemver%2F@v%2Fv1.4.2.mod 37 BLAKE2B 60b2ec6aeaaece8fbe3ca154b432f677dbb46672fdbc95b503f613190df535c7254900c9cfaa3319ab2d7562513640c7cc9fe650d75d97dc09fe84a17e359a86 SHA512 4f01cd11b3ae6f26266154ee37e7a4084e61e865fa9427187a24a02631415f2367a4afad83b4e1cf772b263aaf8f180b4b177e30ae884cdcab239919c9e08bbc diff --git a/dev-util/git-bug/git-bug-0.8.0.ebuild b/dev-util/git-bug/git-bug-0.8.0.ebuild new file mode 100644 index 0000000000..98ee10a6fd --- /dev/null +++ b/dev-util/git-bug/git-bug-0.8.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="distributed, offline-first bug tracker" +HOMEPAGE="https://github.com/MichaelMure/git-bug" + +SRC_URI="https://github.com/MichaelMure/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz" + +RESTRICT="strip" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +src_compile() { + ego generate + ego build \ + -ldflags "-s -w -X github.com/MichealMure/git-bug/commands.GitLastTag=${PV} -X github.com/MichealMure/git-bug/commands.GitExactTag=${PV}" \ + -o ${PN} +} + +src_install() { + dobin ${PN} +} + +src_test() { + CI=true ego test +} diff --git a/dev-util/git-bug/git-bug-9999.ebuild b/dev-util/git-bug/git-bug-9999.ebuild index 2dd79e49d8..49c411a3e0 100644 --- a/dev-util/git-bug/git-bug-9999.ebuild +++ b/dev-util/git-bug/git-bug-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit go-module @@ -11,10 +11,8 @@ HOMEPAGE="https://github.com/MichaelMure/git-bug" inherit git-r3 EGIT_REPO_URI="https://github.com/MichaelMure/${PN}" -RESTRICT="network-sandbox" LICENSE="GPL-3" SLOT="0" -IUSE="" KEYWORDS="" src_unpack() { @@ -24,8 +22,8 @@ src_unpack() { } src_compile() { - go generate - go build \ + ego generate + ego build \ -ldflags "-s -w -X github.com/MichealMure/git-bug/commands.GitLastTag=${PV} -X github.com/MichealMure/git-bug/commands.GitExactTag=${PV}" \ -o ${PN} } @@ -33,3 +31,7 @@ src_compile() { src_install() { dobin ${PN} } + +src_test() { + CI=true ego test +} diff --git a/profiles/package.mask b/profiles/package.mask index ec19420f15..9d0b6122c9 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -14,6 +14,11 @@ # New entries go on top. +# David Roman (2023-10-06) +# No new releases since 2020, deprecated by upstream +# Removal in +30 days. +app-shells/antibody + # David Roman (2023-10-06) # No new releases upstream for over 5 years. # Supported kernel versions have been long removed from ::gentoo