diff --git a/app-misc/mat2/mat2-0.13.0.ebuild b/app-misc/mat2/mat2-0.13.0.ebuild index a74511490b..4a38f864de 100644 --- a/app-misc/mat2/mat2-0.13.0.ebuild +++ b/app-misc/mat2/mat2-0.13.0.ebuild @@ -22,17 +22,17 @@ KEYWORDS="~amd64" RDEPEND=" dev-python/pycairo:0[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] media-libs/mutagen:0[${PYTHON_USEDEP}] " BDEPEND=" verify-sig? ( sec-keys/openpgp-keys-jvoisin ) test? ( - app-text/poppler[introspection(+)] - gnome-base/librsvg[introspection(+)] + app-text/poppler[introspection] + gnome-base/librsvg[introspection] media-libs/exiftool:* - media-video/ffmpeg[mp3(+),vorbis(+)] - x11-libs/gdk-pixbuf:2[jpeg(+),tiff(+)] + media-video/ffmpeg[mp3,vorbis] + x11-libs/gdk-pixbuf:2[jpeg,tiff] ) " diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild similarity index 92% rename from app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild rename to app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild index dadc4dfa53..c15e0a32d5 100644 --- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild +++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild @@ -15,11 +15,12 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB" SLOT="0" KEYWORDS="~amd64" +IUSE="jpeg png webp" RDEPEND=" >=app-text/ghostscript-gpl-9.50 >=app-text/pdfminer-20201018[${PYTHON_USEDEP}] - >=app-text/tesseract-4.1.1 + >=app-text/tesseract-4.1.1[jpeg?,tiff,png?,webp?] >=dev-python/coloredlogs-14.0[${PYTHON_USEDEP}] >=dev-python/deprecation-2.1.0[${PYTHON_USEDEP}] >=dev-python/packaging-20[${PYTHON_USEDEP}] @@ -64,6 +65,6 @@ src_install() { pkg_postinst() { optfeature "JBIG2 optimization support" media-libs/jbig2enc - optfeature "PNG optimization support" media-gfx/pngquant optfeature "image cleaning support" app-text/unpaper + use png && optfeature "PNG optimization support" media-gfx/pngquant } diff --git a/dev-lang/cc65/cc65-2.19.ebuild b/dev-lang/cc65/cc65-2.19.ebuild new file mode 100644 index 0000000000..887df3f009 --- /dev/null +++ b/dev-lang/cc65/cc65-2.19.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +DESCRIPTION="Cross-development package for 65(C)02 systems" +HOMEPAGE="https://cc65.github.io/" +EGIT_REPO_URI="https://github.com/cc65/cc65.git" +EGIT_COMMIT="V${PV}" + +LICENSE="ZLIB" +SLOT="0" + +src_compile() { + emake +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc README.md +} diff --git a/dev-lang/cc65/metadata.xml b/dev-lang/cc65/metadata.xml new file mode 100644 index 0000000000..9f302d0be0 --- /dev/null +++ b/dev-lang/cc65/metadata.xml @@ -0,0 +1,19 @@ + + + + + Seth Price + sprice623@aol.com + + + cc65 is a complete cross development package for 65(C)02 systems, + including a powerful macro assembler, a C compiler, linker, + archiver and several other tools. + cc65 has C and runtime library support for many of the old + 6502 machines. + + + https://github.com/cc65/cc65/issues + cc65/cc65 + + diff --git a/dev-libs/libopensmtpd/Manifest b/dev-libs/libopensmtpd/Manifest new file mode 100644 index 0000000000..8d4ee9ae13 --- /dev/null +++ b/dev-libs/libopensmtpd/Manifest @@ -0,0 +1 @@ +DIST libopensmtpd-0.7.tar.gz 34942 BLAKE2B 09b820bed528678adce8e52db9a0001732636668ece49eca4bd91c35374d53d3c076367dc543d06ef73b671b2776942bb210b82da4a4804db7a91e5065545df5 SHA512 53153eea5ed85309434316fa9bbba032aba9cac30744a6c228892b5fdf67f9df7e05c25832f16845c603892a255dfcf67d432e2a43ec6228f3103cf92ba2394f diff --git a/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild b/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild new file mode 100644 index 0000000000..2781caa357 --- /dev/null +++ b/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Library for creating OpenSMTPD filters" +HOMEPAGE="http://imperialat.at/dev/libopensmtpd/" +SRC_URI="http://imperialat.at/releases/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/0.1" +KEYWORDS="~amd64" + +DEPEND="dev-libs/libevent:=" +RDEPEND="${DEPEND}" + +src_configure() { + tc-export CC +} + +src_compile() { + local myargs=( + MANFORMAT=mdoc + ) + emake -f Makefile.gnu "${myargs[@]}" +} + +src_install() { + local myargs=( + MANFORMAT=mdoc + DESTDIR="${D}" + LOCALBASE="${EPREFIX}"/usr + LIBDIR="${EPREFIX}"/usr/$(get_libdir) + ) + emake -f Makefile.gnu "${myargs[@]}" install +} diff --git a/dev-libs/libopensmtpd/metadata.xml b/dev-libs/libopensmtpd/metadata.xml new file mode 100644 index 0000000000..8eb5105d47 --- /dev/null +++ b/dev-libs/libopensmtpd/metadata.xml @@ -0,0 +1,14 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + + martijn@openbsd.org + Martijn van Duren + + + diff --git a/dev-nim/zedeus_redis/zedeus_redis-0.3.0_p20211226.ebuild b/dev-nim/zedeus_redis/zedeus_redis-0.3.0_p20211226.ebuild index 8b48aaa360..ed93ffa384 100644 --- a/dev-nim/zedeus_redis/zedeus_redis-0.3.0_p20211226.ebuild +++ b/dev-nim/zedeus_redis/zedeus_redis-0.3.0_p20211226.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit nimble +inherit databases nimble MY_PN="redis" COMMIT="d0a0e6fb3010015f0cc483ca2e540ace02446570" @@ -18,7 +18,9 @@ KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="test? ( dev-db/redis )" +BDEPEND="test? ( + $(eredis --get-depend) +)" set_package_url "https://github.com/zedeus/redis" @@ -32,21 +34,7 @@ src_test() { #enim r tests/tawaitorder.nim # Tests that require redis - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - ebegin "Spawning Redis (NOTE: port ${redis_port} must be free)" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF > /dev/null - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - eend ${?} - + eredis --start nimble_src_test - - ebegin "Stopping Redis" - kill "$(<"${redis_pid}")" - eend ${?} + eredis --stop } diff --git a/dev-python/asyncmy/Manifest b/dev-python/asyncmy/Manifest new file mode 100644 index 0000000000..4efaa7ade6 --- /dev/null +++ b/dev-python/asyncmy/Manifest @@ -0,0 +1 @@ +DIST asyncmy-0.2.5.gh.tar.gz 136467 BLAKE2B 1d5f687a5044653f00653d1b07129fdcb8465b7739e9d9d4b7481fbe3f406f0191c0642d46329e3639c8024a89ff70b8417bd26cdeaf804e278256e0bbb03eef SHA512 6777ccb9be483e2af996e3c814cb00a8db3b5d360c5543224265fd28c851bde4dfa9b81930c7928c10714f9ebed9134b1b5cc72f07c633fbb6eb4add7a10915d diff --git a/dev-python/asyncmy/asyncmy-0.2.5.ebuild b/dev-python/asyncmy/asyncmy-0.2.5.ebuild new file mode 100644 index 0000000000..1784648d24 --- /dev/null +++ b/dev-python/asyncmy/asyncmy-0.2.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="ssl" +DISTUTILS_USE_PEP517=poetry +inherit databases distutils-r1 optfeature + +DESCRIPTION="A fast asyncio MySQL driver" +HOMEPAGE=" + https://pypi.org/project/asyncmy/ + https://github.com/long2ice/asyncmy +" +SRC_URI="https://github.com/long2ice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +TEST_S="${S}_test" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + $(emysql --get-depend) + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + + cp -a "${S}" "${TEST_S}" || die + rm -r "${TEST_S}"/asyncmy || die +} + +src_test() { + emysql --start + local sockfile=$(emysql --get-sockfile) + + local myargs=( + --user=root + --socket="${sockfile}" + --silent + --execute="ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';" + ) + + ebegin "Changing database password" + mysql "${myargs[@]}" + eend $? || emysql --die "Changing database password failed" + + distutils-r1_src_test + emysql --stop +} + +python_test() { + cd "${T}" || die + epytest "${TEST_S}" +} + +pkg_postinst() { + optfeature "sha256_password and caching_sha2_password auth methods" dev-python/cryprography +} diff --git a/dev-python/asyncmy/metadata.xml b/dev-python/asyncmy/metadata.xml new file mode 100644 index 0000000000..6db004d34b --- /dev/null +++ b/dev-python/asyncmy/metadata.xml @@ -0,0 +1,11 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + asyncmy + + diff --git a/dev-python/hunter/hunter-3.5.1.ebuild b/dev-python/hunter/hunter-3.5.1.ebuild index 73d1df298a..92992aad42 100644 --- a/dev-python/hunter/hunter-3.5.1.ebuild +++ b/dev-python/hunter/hunter-3.5.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Hunter is a flexible code tracing toolkit" HOMEPAGE=" @@ -15,6 +15,7 @@ HOMEPAGE=" SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/python-${P}" TEST_S="${S}_test" + LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" @@ -36,6 +37,7 @@ BDEPEND=" DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) EPYTEST_DESELECT=( + # broken tests/test_tracer.py::test_source_cython tests/test_tracer.py::test_fullsource_cython @@ -55,16 +57,17 @@ src_unpack() { mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die } -python_test() { - local TEST_ROOT="${BUILD_DIR}"/test - cp -a "${BUILD_DIR}/install" "${TEST_ROOT}" || die +python_compile() { + distutils-r1_python_compile - cd "${TEST_S}" || die - distutils_pep517_install "${TEST_ROOT}" - - local -x PATH="${TEST_ROOT}/usr/bin:${PATH}" - local -x PYTHONPATH="${S}/tests:${PYTHONPATH}" - - cd "${T}" || die - epytest "${S}"/tests + if use test; then + einfo " Building tests" + cd "${TEST_S}" || die + esetup.py build_ext -j $(makeopts_jobs) --inplace + fi +} + +python_test() { + cd "${TEST_S}"/tests || die + epytest } diff --git a/dev-python/msrest/msrest-0.7.1.ebuild b/dev-python/msrest/msrest-0.7.1.ebuild index 0d5d2e9792..9b464a3a66 100644 --- a/dev-python/msrest/msrest-0.7.1.ebuild +++ b/dev-python/msrest/msrest-0.7.1.ebuild @@ -15,6 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RESTRICT="test" +PROPERTIES="test_network" RDEPEND=" dev-python/azure-core[${PYTHON_USEDEP}] diff --git a/dev-python/pg8000/Manifest b/dev-python/pg8000/Manifest index a938188920..674e97bca6 100644 --- a/dev-python/pg8000/Manifest +++ b/dev-python/pg8000/Manifest @@ -1,2 +1,2 @@ -DIST pg8000-1.26.1.tar.gz 116994 BLAKE2B 4db3186e72afb2e2fae441c1bbb974768e0064276f1ad571316a531cbc590edfcca4c3f4ef1fd493e80e7ebd1817bee354413ea158ec191434e8530007af0ee3 SHA512 d085d4992be18868da6b6f67efcb1e5f41cd05a13b0f4361685e5e8ada14af02ef4ee17558809b447a118cf8380fab13e8932d49fd14d2ee2472b191f8531289 DIST pg8000-1.29.1.tar.gz 92221 BLAKE2B a1e43f445848283472b0aee84f05d3e1c0f8f2d6b8c619789f9e1d961dae240c9ebfb8a1fb22af55f4635bb89f036f8dd1ece477b3b68bff5c1b68ccac32b0b4 SHA512 27ced0ae82e522fabdf3a69b07927223695a7c5658f56f75dbfa43f6923b7a914ec54143421324839c07850e10f5f61ca9bc31155af3e4e600429a1889aedea7 +DIST pg8000-1.29.2.tar.gz 92786 BLAKE2B de39587bb34f21b5c9c4477dd5380d3f790091970867a342c87fac91383e68e8b06e883f25130eefbb88d929d869018881558750f735c81615fbcdc96f9c796b SHA512 3e40d254800c7354097372cc58abbd633316e9e9340d02cc20f21a2dc6c87b559a157c9719b6f15cf2d96c393e0c904c6d1310ea9d6367bb808c3c13114ec431 diff --git a/dev-python/pg8000/pg8000-1.26.1.ebuild b/dev-python/pg8000/pg8000-1.26.1.ebuild deleted file mode 100644 index d51a98bf19..0000000000 --- a/dev-python/pg8000/pg8000-1.26.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="A Pure-Python PostgreSQL Driver" -HOMEPAGE=" - https://github.com/tlocke/pg8000 - https://pypi.org/project/pg8000/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" - -RDEPEND=">=dev-python/scramp-1.4.1[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - dev-db/postgresql - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-benchmark[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -RESTRICT="test" # tests require a running postgresql - -distutils_enable_tests pytest diff --git a/dev-python/pg8000/pg8000-1.29.2.ebuild b/dev-python/pg8000/pg8000-1.29.2.ebuild new file mode 100644 index 0000000000..131b4cd09c --- /dev/null +++ b/dev-python/pg8000/pg8000-1.29.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit databases distutils-r1 edo + +DESCRIPTION="A Pure-Python PostgreSQL Driver" +HOMEPAGE=" + https://github.com/tlocke/pg8000 + https://pypi.org/project/pg8000/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/scramp-1.4.3[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep "ssl") + $(epostgres --get-depend) + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +SSL_TESTS=( + test/dbapi/auth/test_md5_ssl.py + test/dbapi/auth/test_scram-sha-256_ssl.p + test/legacy/auth/test_md5_ssl.py + test/legacy/auth/test_scram-sha-256_ssl.py + test/native/auth/test_md5_ssl.py + test/native/auth/test_scram-sha-256_ssl.py +) + +EPYTEST_DESELECT=( + # traceback doesn't match + test/test_readme.py + # TODO: ssl tests (need certificates and stuff) + "${SSL_TESTS[@]}" + # "database doesn't exist" errors + test/dbapi/auth/test_gss.py + test/legacy/auth/test_gss.py + test/native/auth/test_gss.py + # too unstable + test/native/test_typeconversion.py::test_roundtrip_oid +) + +distutils_enable_tests pytest + +python_test_ssl() { + epytest "${SSL_TESTS[@]}" +} + +src_test() { + epsql() { + edo psql -q -h "${sockdir}" -U postgres "${@}" + } + + local -x PGPORT="65432" + local -x PGPASSWORD="cpsnow" + local sockdir=$(epostgres --get-sockdir) + + epostgres --start ${PGPORT} + epsql -c "ALTER ROLE postgres WITH PASSWORD '${PGPASSWORD}';" + epsql -c "CREATE EXTENSION hstore;" + epsql -c "SELECT pg_reload_conf();" + + distutils-r1_src_test + epostgres --stop +} diff --git a/dev-python/pymemcache/Manifest b/dev-python/pymemcache/Manifest index 9f1071a635..4a94021247 100644 --- a/dev-python/pymemcache/Manifest +++ b/dev-python/pymemcache/Manifest @@ -1,2 +1,3 @@ DIST pymemcache-3.5.1.tar.gz 65073 BLAKE2B cc3e5c6db665716c9f2eb6d99a53108484827fe38b51bdfff7799354a08b212064c71801d50683ea45c0a753ee787a634ef98adb69795e7245c5596a7716a162 SHA512 da69189e7fadc8417395075d033ed3cb72a485d4f2c4ec4deb5e2ec3cb43a34ee5558111903399f27b70f618be771f8c686513c7334d2ef507a0db959c4aa27b DIST pymemcache-3.5.2.tar.gz 65351 BLAKE2B e515629ffb483ece7b59c43b1cb3bd41ee70a8c1cbbc3b0cde5d41d7a5aa2f74f04a0f1d7eb4c82d77384cc32d3e8199cc78408b29ba689b19f5cd040e97c2f6 SHA512 7089b3fdf424735a1922685022a30f7984686f13401a13101e4745ea1c38a3888b1c380f859653da85889e95829f3b7c6226c3c55f838baf783465321433fda5 +DIST pymemcache-4.0.0.tar.gz 70176 BLAKE2B 23f8486138e7e4afa18c0b311887dac5220466df11c476018d34f14a34331c35881bd5c26c58a3214f5d40e9bb639be69a6dfcccd5d6200b9fe81f9aef3f3654 SHA512 1a19d887559630e5b991430b8206c2698909e0d6b234df0380f9da5647574560b0fdd98396959cb96670030a61f7d56fea4ecf3272b5c394fc8c31eb2144e1a3 diff --git a/dev-python/pymemcache/pymemcache-4.0.0.ebuild b/dev-python/pymemcache/pymemcache-4.0.0.ebuild new file mode 100644 index 0000000000..4eb9d1ff7a --- /dev/null +++ b/dev-python/pymemcache/pymemcache-4.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit databases distutils-r1 + +DESCRIPTION="A comprehensive, fast, pure-Python memcached client" +HOMEPAGE=" + https://github.com/pinterest/pymemcache + https://pypi.org/project/pymemcache/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/Faker[${PYTHON_USEDEP}] + >=dev-python/gevent-21.12.0[${PYTHON_USEDEP}] + dev-python/zstd[${PYTHON_USEDEP}] + $(ememcached --get-depend) + ) +" + +DOCS=( {ChangeLog,README}.rst ) + +EPYTEST_IGNORE=( + # useless + pymemcache/test/test_benchmark.py +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinxcontrib-apidoc \ + dev-python/sphinx_rtd_theme + +src_test() { + ememcached --start 11221 + distutils-r1_src_test + ememcached --stop +} + +python_test() { + epytest --override-ini="addopts=" --port 11221 pymemcache/test +} diff --git a/dev-python/scramp/Manifest b/dev-python/scramp/Manifest index 6b03a90923..e9a859d778 100644 --- a/dev-python/scramp/Manifest +++ b/dev-python/scramp/Manifest @@ -1 +1,2 @@ DIST scramp-1.4.1.tar.gz 30939 BLAKE2B e82edcb4d64ec63a36521742b0526b582860dc31a30410e96108243e51c1dbc3eaf1d7a7a6eec4cca775528a6d80601f1d2e55dbf4ab422d51f0c0bad1195c4d SHA512 47015e0429da1353eb6c89ac89c90ab3e646418af828deb754adc05764cbe2da98a553388a3d3c84320d470b63a66d1882ab96e5a43fd2c2c7e39a82155fb74c +DIST scramp-1.4.4.tar.gz 21059 BLAKE2B 3577c4447027193bc7a97fc889d7f27271fcdf4491a747a8f1e2b0c560ea66e8228187f2132b51646d9fc3f3d9f48c0b761b1e16c61997eecedb858437430d0e SHA512 60832835ccc3551ef99ee47fc069d4443b4319fa4acb0b3d08eeef434b9358988d9d660ce4fba2ec651d1ea074b3f416bcbeddfa33ab3c91bf26ab325607b874 diff --git a/dev-python/scramp/scramp-1.4.4.ebuild b/dev-python/scramp/scramp-1.4.4.ebuild new file mode 100644 index 0000000000..24e7567e55 --- /dev/null +++ b/dev-python/scramp/scramp-1.4.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="A pure-Python implementation of the SCRAM authentication protocol." +HOMEPAGE=" + https://pypi.org/project/scramp/ + https://github.com/tlocke/scramp +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/asn1crypto-1.4.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-vcs/got/Manifest b/dev-vcs/got/Manifest index a486018579..02fadc7b8a 100644 --- a/dev-vcs/got/Manifest +++ b/dev-vcs/got/Manifest @@ -1,2 +1,2 @@ -DIST got-portable-0.76.tar.gz 842394 BLAKE2B a2fa8ee75c7934f4b2dd901c95c54e7ba4c4ec36007fcd4912b7ae78cec83cc1baa0e9553ec13cd7e0aaaf884291d9087c544da7c7cb071c7bf90bdee4c7287f SHA512 c51bc6a6d537c12f9437e3dab44779157a56aea6dea4a3ad222c53406f3ea5f2215d9a1ccd75496fcf60fb3b69e50572e89b82024f1195b8a57993e92bbc068f DIST got-portable-0.77.tar.gz 860031 BLAKE2B 51bcac0d7393a5620d542c23db0a25db6ebcc4ea32faa18f08d59b6567721a4611ee7dbc0fd7b718810ba5e694b91209f7e645c54328255364caff224efc2841 SHA512 7135d63077457abf8320924ba1ec3586f4ae9d32fce2fe9493325765934f2d8c023ea399ba875c8f27d3e95437d1940bc60b4df8669060c3171cbc4df8103ce8 +DIST got-portable-0.78.tar.gz 880783 BLAKE2B 363c19bba0b4fa29a80bc9fcd26cd69370b44894d905f3ccafc201ffcdf6d7e43b1dac74d004cb1b4ad7af07a751d3ac33160fed23fb4e7f57ec163589ae1ad1 SHA512 597d0c65ea2ed01e211a17e3ff11d5fa3792bda53cb60fd54124ef8bc2f6153102ad6eb6e8bf6686bc9abef4dace8997e35938b570429dc0077ca259ab57bef0 diff --git a/dev-vcs/got/got-0.76.ebuild b/dev-vcs/got/got-0.78.ebuild similarity index 51% rename from dev-vcs/got/got-0.76.ebuild rename to dev-vcs/got/got-0.78.ebuild index f8642b4cf0..8224981b61 100644 --- a/dev-vcs/got/got-0.76.ebuild +++ b/dev-vcs/got/got-0.78.ebuild @@ -3,38 +3,40 @@ EAPI=8 -inherit toolchain-funcs - -MY_PN="${PN}-portable" +MY_P="${PN}-portable-${PV}" DESCRIPTION="Portable version of the Game of Trees version control system" HOMEPAGE="https://gameoftrees.org" -SRC_URI="https://gameoftrees.org/releases/portable/${MY_PN}-${PV}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" +SRC_URI="https://gameoftrees.org/releases/portable/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND=" +RDEPEND=" + dev-libs/libevent:= sys-libs/ncurses:=[unicode(+)] sys-libs/zlib:= - elibc_Darwin? ( dev-libs/ossp-uuid ) - elibc_SunOS? ( sys-libs/libuuid ) - !elibc_Darwin? ( dev-libs/libbsd ) - !elibc_Darwin? ( !elibc_SunOS? ( - app-crypt/libmd - sys-apps/util-linux - ) ) + elibc_Darwin? ( + dev-libs/ossp-uuid + ) + elibc_SunOS? ( + sys-libs/libuuid + ) + !elibc_Darwin? ( + dev-libs/libbsd + !elibc_SunOS? ( + app-crypt/libmd + sys-apps/util-linux + ) + ) +" +DEPEND="${RDEPEND} + kernel_linux? ( sys-kernel/linux-headers ) " BDEPEND=" virtual/pkgconfig virtual/yacc - kernel_linux? ( sys-kernel/linux-headers ) " -RDEPEND="${DEPEND}" DOCS=( CHANGELOG CHANGES README TODO ) - -src_compile() { - emake AR=$(tc-getAR) GOT_RELEASE=Yes -} diff --git a/dev-zig/metadata.xml b/dev-zig/metadata.xml new file mode 100644 index 0000000000..04b8cee62a --- /dev/null +++ b/dev-zig/metadata.xml @@ -0,0 +1,12 @@ + + + + + The dev-zig category contains libraries, utilities + or bindings for Zig programming language. + + + Категория dev-zig содержит библиотеки, утилиты для разработки + или обвязки для языка программирования Zig. + + diff --git a/dev-zig/zls/metadata.xml b/dev-zig/zls/metadata.xml new file mode 100644 index 0000000000..f7d26335b1 --- /dev/null +++ b/dev-zig/zls/metadata.xml @@ -0,0 +1,12 @@ + + + + + bratishkaerik@getgoogleoff.me + Eric Joldasov + + + zigtools/zls + https://github.com/zigtools/zls/issues + + diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild new file mode 100644 index 0000000000..bbb09a80bf --- /dev/null +++ b/dev-zig/zls/zls-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +EGIT_REPO_URI="https://github.com/zigtools/zls" + +HOMEPAGE="https://github.com/zigtools/zls" +DESCRIPTION="Zig LSP implementation + Zig Language Server" + +LICENSE="MIT" +SLOT="0" + +DEPEND="~dev-lang/zig-9999" +RDEPEND="${DEPEND}" + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/zls" + +src_compile() { + zig build -Drelease-safe -Ddata_version=master --verbose || die +} + +src_test() { + zig build test -Drelease-safe -Ddata_version=master --verbose || die +} + +src_install() { + DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe -Ddata_version=master --verbose || die + dodoc README.md +} + +pkg_postinst() { + elog "For creating or updating config run this command: zls --config" + elog "You can find more information about options here https://github.com/zigtools/zls#configuration-options" +} diff --git a/eclass/databases.eclass b/eclass/databases.eclass new file mode 100644 index 0000000000..fbf6534350 --- /dev/null +++ b/eclass/databases.eclass @@ -0,0 +1,480 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: databases.eclass +# @MAINTAINER: +# Anna +# @AUTHOR: +# Anna +# @SUPPORTED_EAPIS: 8 +# @BLURB: eclass to test packages against databases +# @DESCRIPTION: +# A utility eclass providing functions for running databases. +# +# This eclass does not set any metadata variables nor export any phase, so it +# can be inherited safely. +# +# @SUBSECTION Supported databases +# +# - memcached (via "ememcached" helper) +# +# - MongoDB (via "emongod" helper) +# +# - MySQL/MariaDB/ (via "emysql" helper) +# +# - PostgreSQL (via "epostgres" helper) +# +# - Redis (via "eredis" helper) +# +# @SUBSECTION Helper usage +# +# --die [msg...] +# +# Prints the path to the server's log file to the console and aborts the +# current merge process with the given message. +# +# --get-dbpath +# +# Returns the directory where the server stores database files. +# +# --get-depend +# +# Returns a dependency string (to be included in BDEPEND). +# +# --get-logfile +# +# Returns the path to the server's log file. +# +# --get-pidfile +# +# Returns the path to the server's PID file. +# +# --get-sockdir +# +# Returns the directory where the server's sockets are located. +# +# --get-sockfile +# +# Returns the path to the server's socket file. +# +# --start +# +# Starts the server on the default port. +# +# --start +# +# Starts the server on the given port. +# +# --stop +# +# Stops the server. +# +# @EXAMPLE: +# +# @CODE +# EAPI=8 +# +# ... +# +# inherit databases distutils-r1 +# +# ... +# +# BDEPEND="$(eredis --get-depend)" +# +# distutils_enable_tests pytest +# +# src_test() { +# eredis --start 16739 +# distutils-r1_src_test +# eredis --stop +# } +# @CODE + +case ${EAPI} in + 8) ;; + *) die "${ECLASS}: EAPI ${EAPI} unsupported." +esac + +if [[ ! ${_DATABASES_ECLASS} ]]; then +_DATABASES_ECLASS=1 + +# ============================================================================== +# GENERIC FUNCTIONS +# ============================================================================== + +# @FUNCTION: _databases_gen_depend +# @USAGE: +# @INTERNAL +# @DESCRIPTION: +# Get a dependency string for the given helper function. +_databases_gen_depend() { + local srvname=${1:1} + case ${srvname} in + memcached) + echo "net-misc/memcached" + ;; + mongod) + echo "dev-db/mongodb" + ;; + mysql) + echo "virtual/mysql[server]" + ;; + postgres) + echo "dev-db/postgresql[server]" + ;; + redis) + echo "dev-db/redis" + ;; + *) + die "${ECLASS}: unknown database: ${srvname}" + esac +} + +# @FUNCTION: _databases_die +# @USAGE: [msg] +# @INTERNAL +# @DESCRIPTION: +# Print the given message and the path to the server's log file to the console +# and die. +# +# This function supports being called via "nonfatal". +_databases_die() { + local funcname=${1?} + shift + + eerror "See the server log for details:" + eerror " $(${funcname} --get-logfile)" + die -n "${@}" +} + +# @FUNCTION: _databases_stop_service +# @USAGE: +# @INTERNAL +# @DESCRIPTION: +# Default function to stop servers. Reads PID from a file and sends the TERM +# signal. +_databases_stop_service() { + debug-print-function "${FUNCNAME}" "${@}" + + local funcname=${1?} + local srvname=${funcname:1} + local pidfile="$(${funcname} --get-pidfile)" + + ebegin "Stopping ${srvname}" + kill "$(<"${pidfile}")" + eend $? || ${funcname} --die "Stopping ${srvname} failed" +} + +# @FUNCTION: _databases_dispatch +# @USAGE: [args...] +# @INTERNAL +# @DESCRIPTION: +# Process the given command with its options. +# +# If "--start" command is used, `_${funcname}_start` function must be defined. +# Note that directories will be created automatically. +# +# If `_${funcname}_stop` function is not declared, the internal +# `_databases_stop_service` function will be used instead. +# +# No `--get` function can be overloaded. +_databases_dispatch() { + local funcname=${1?} + local cmd=${2?} + shift; shift + + case ${cmd} in + --die) + _databases_die ${funcname} "${@}" + ;; + --get-depend) + _databases_gen_depend ${funcname} + ;; + --get-dbpath) + echo "${T}"/${funcname}/db/ + ;; + --get-logfile) + echo "${T}"/${funcname}/${funcname}.log + ;; + --get-pidfile) + echo "${T}"/${funcname}/${funcname}.pid + ;; + --get-sockdir) + echo "${T}"/${funcname}/ + ;; + --get-sockfile) + echo "${T}"/${funcname}/${funcname}.sock + ;; + --start) + local port=${1} + local start_fn=( _${funcname}_start ${port} ) + if ! declare -f "${start_fn[0]}" >/dev/null; then + die "${ECLASS}: function not declared: ${start_fn[0]}" + fi + + mkdir -p "${T}"/${funcname}/db/ || die "Creating database directory failed" + "${start_fn[@]}" + ;; + --stop) + local stop_fn=( _${funcname}_stop ) + if ! declare -f "${stop_fn[0]}" >/dev/null; then + # fall back to the default implementation + stop_fn=( _databases_stop_service ${funcname} ) + fi + + "${stop_fn[@]}" + ;; + *) die "${funcname}: invalid command: ${cmd}" ;; + esac +} + +# ============================================================================== +# MEMCACHED +# ============================================================================== + +# @FUNCTION: _ememcached_start +# @USAGE: [port] +# @INTERNAL +# @DESCRIPTION: +# Start memcached server. +_ememcached_start() { + debug-print-function "${FUNCNAME}" "${@}" + + local port=${1:-11211} + + local myargs=( + --daemon + --port=${port} + --user=nobody + --listen=127.0.0.1 + --pidfile=$(ememcached --get-pidfile) + ) + + ebegin "Spawning memcached" + memcached "${myargs[@]}" &>> $(ememcached --get-logfile) + eend $? || ememcached --die "Spawning memcached failed" +} + +# @FUNCTION: ememcached +# @USAGE: [args...] +# @DESCRIPTION: +# Manage memcached server on the given port (default: 11211). +ememcached() { + _databases_dispatch "${FUNCNAME}" "${@}" +} + +# ============================================================================== +# MONGODB +# ============================================================================== + +# @FUNCTION: _emongod_start +# @USAGE: [port] +# @INTERNAL +# @DESCRIPTION: +# Start MongoDB server. +_emongod_start() { + debug-print-function "${FUNCNAME}" "${@}" + + local port=${1:-27017} + local logfile=$(emongod --get-logfile) + + local myargs=( + --dbpath="$(emongod --get-dbpath)" + --nojournal + --bind-ip=127.0.0.1 + --port=${port} + --unixSocketPrefix="$(emongod --get-sockdir)" + --logpath="${logfile}" + --fork + ) + + ebegin "Spawning mongodb" + LC_ALL=C mongod "${myargs[@]}" &>> "${logfile}" + eend $? || emongod --die "Spawning mongod failed" +} + +# @FUNCTION: _emongod_stop +# @INTERNAL +# @DESCRIPTION: +# Stop MongoDB server. +_emongod_stop() { + debug-print-function "${FUNCNAME}" "${@}" + + local myargs=( + --dbpath="$(emongod --get-dbpath)" + --shutdown + ) + + ebegin "Stopping mongodb" + mongod "${myargs[@]}" &>> "${logfile}" + eend $? || emongod --die "Stopping mongod failed" +} + +# @FUNCTION: emongod +# @USAGE: [args...] +# @DESCRIPTION: +# Manage MongoDB server on the given port (default: 27017). +emongod() { + _databases_dispatch "${FUNCNAME}" "${@}" +} + +# ============================================================================== +# MYSQL +# ============================================================================== + +# @FUNCTION: _emysql_start +# @USAGE: [port] +# @INTERNAL +# @DESCRIPTION: +# Create a new MySQL database and start MySQL server. +_emysql_start() { + debug-print-function "${FUNCNAME}" "${@}" + + local port=${1:-3306} + local dbpath=$(emysql --get-dbpath) + local logfile=$(emysql --get-logfile) + local sockfile=$(emysql --get-sockfile) + + local myinstallargs=( + --no-defaults + --auth-root-authentication-method=normal + --basedir="${BROOT}/usr" + --datadir="${dbpath}" + ) + + ebegin "Initializing mysql database" + mysql_install_db "${myinstallargs[@]}" &>> "${logfile}" + eend $? || emysql --die "Initializing mysql database failed" + + local myargs=( + --no-defaults + --character-set-server=utf8 + --pid-file="$(emysql --get-pidfile)" + --socket="${sockfile}" + --bind-address=127.0.0.1 + --port=${port} + --datadir="${dbpath}" + --general-log-file="${logfile}" + --log-error="${logfile}" + ) + + einfo "Spawning mysql" + mysqld "${myargs[@]}" &>> "${logfile}" & + + einfo "Waiting for mysqld to accept connections" + local timeout=30 + while ! mysqladmin ping --socket="${sockfile}" --silent; do + sleep 1 + let timeout-=1 + [[ ${timeout} -eq 0 ]] && emysql --die "Timed out" + done +} + +# @FUNCTION: emysql +# @USAGE: [args...] +# @DESCRIPTION: +# Manage MySQL server on the given port (default: 3306). +emysql() { + _databases_dispatch "${FUNCNAME}" "${@}" +} + +# ============================================================================== +# POSTGRESQL +# ============================================================================== + +# @FUNCTION: _epostgres_start +# @USAGE: [port] +# @INTERNAL +# @DESCRIPTION: +# Create a new PostgreSQL database and start PostgreSQL server. +_epostgres_start() { + debug-print-function "${FUNCNAME}" "${@}" + + local port=${1:-5432} + local dbpath=$(epostgres --get-dbpath) + local logfile=$(epostgres --get-logfile) + + local myinstallargs=( + --pgdata="${dbpath}" + --user=postgres + ) + + ebegin "Initializing postgresql database" + initdb "${myinstallargs[@]}" &>> "${logfile}" + eend $? || epostgres --die "Initializing postgresql database failed" + + local myargs=( + --pgdata="${dbpath}" + --log="${logfile}" + --options="-h '127.0.0.1' -p ${port} -k '$(epostgres --get-sockdir)'" + --wait + ) + + ebegin "Spawning postgresql" + pg_ctl "${myargs[@]}" start &>> "${logfile}" + eend $? || epostgres --die "Spawning postgresql failed" +} + +# @FUNCTION: _epostgres_stop +# @INTERNAL +# @DESCRIPTION: +# Stop PosgreSQL server. +_epostgres_stop() { + debug-print-function "${FUNCNAME}" "${@}" + + local myargs=( + --pgdata="$(epostgres --get-dbpath)" + --wait + ) + + ebegin "Stopping postgresql" + pg_ctl "${myargs[@]}" stop &>> "$(epostgres --get-logfile)" + eend $? || epostgres --die "Stopping postgresql failed" +} + +# @FUNCTION: epostgres +# @USAGE: [args...] +# @DESCRIPTION: +# Manage PostgreSQL server on the given port (default: 5432). +epostgres() { + _databases_dispatch "${FUNCNAME}" "${@}" +} + +# ============================================================================== +# REDIS +# ============================================================================== + +# @FUNCTION: _eredis_start +# @USAGE: [args...] +# @INTERNAL +# @DESCRIPTION: +# Start Redis server. +_eredis_start() { + debug-print-function "${FUNCNAME}" "${@}" + + local port=${1:-6379} + local logfile="$(eredis --get-logfile)" + + ebegin "Spawning redis" + redis-server - <<- EOF &>> "${logfile}" + daemonize yes + pidfile "$(eredis --get-pidfile)" + port ${port} + bind 127.0.0.1 + unixsocket "$(eredis --get-sockfile)" + dir "$(eredis --get-dbpath)" + logfile "${logfile}" + EOF + eend $? || eredis --die "Spawning redis failed" +} + +# @FUNCTION: eredis +# @USAGE: [args...] +# @DESCRIPTION: +# Manage Redis server on the given port (default: 6379). +eredis() { + _databases_dispatch "${FUNCNAME}" "${@}" +} + +fi diff --git a/gui-apps/fuzzel/Manifest b/gui-apps/fuzzel/Manifest index d8b417944a..f588b15e1a 100644 --- a/gui-apps/fuzzel/Manifest +++ b/gui-apps/fuzzel/Manifest @@ -1 +1 @@ -DIST fuzzel-1.8.1.tar.gz 424348 BLAKE2B ed2749d541ec36a927da9d72af9b82ec1552470e34dcc5c178bda128aec8bd28933186866dca56cef9645f955b074208b2b84123be44e19966541172df25f40e SHA512 62a0e3561128a16fe050da52c14915222952738859f9f8dd992112d0b1d0d8705131c2928a5ea8348c7ecf51affa763ef1df67c43af3e06063695695136e939d +DIST fuzzel-1.8.2.tar.gz 426759 BLAKE2B 107b59afa4bac54d27e679d484e3ff9c87c62c0934a6ed93e17e5c0c498d46c38174ad6e5c91aa1ef1018171f5833011b3ccb1173b59812219009257e4240b46 SHA512 53a7fd1e6fa44c702d7819970d0e55a35bd75ad5f61beb2de5e5f8007b864792af2dab93aba7defd063e117e7c3723fbfcd4df9ef0b3680ba2219aefde4a9982 diff --git a/gui-apps/fuzzel/fuzzel-1.8.1.ebuild b/gui-apps/fuzzel/fuzzel-1.8.2.ebuild similarity index 100% rename from gui-apps/fuzzel/fuzzel-1.8.1.ebuild rename to gui-apps/fuzzel/fuzzel-1.8.2.ebuild diff --git a/kde-frameworks/kirigami-addons/kirigami-addons-0.5.ebuild b/kde-frameworks/kirigami-addons/kirigami-addons-0.5.ebuild index 34a1ed2fa3..4e79e79993 100644 --- a/kde-frameworks/kirigami-addons/kirigami-addons-0.5.ebuild +++ b/kde-frameworks/kirigami-addons/kirigami-addons-0.5.ebuild @@ -28,7 +28,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} test? ( - >=dev-qt/qtmultimedia-${QTMIN}:5[qml(+)] + >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer,qml(+)] + media-libs/gst-plugins-base[ogg,vorbis] + media-libs/gst-plugins-bad x11-themes/sound-theme-freedesktop ) " diff --git a/mail-filter/opensmtpd-filter-dkimsign/Manifest b/mail-filter/opensmtpd-filter-dkimsign/Manifest new file mode 100644 index 0000000000..241c1abe3d --- /dev/null +++ b/mail-filter/opensmtpd-filter-dkimsign/Manifest @@ -0,0 +1 @@ +DIST filter-dkimsign-0.6.tar.gz 24163 BLAKE2B f82175c6140a1691f5647562619420c57923cc2deadeabc4ac4b78eeaaa9ddaf6b73635034239e148a8532f77b0422ac52d1961a4f3549b6b686698592b71ae0 SHA512 1efab386a020c6a3cbf6059ce0feea539fa62be0990fd8538c4b152fa0c302d7bfffa7c7bb74643c25e47c20250f600f1371d2725dc3178ad103ce585530c0ce diff --git a/mail-filter/opensmtpd-filter-dkimsign/metadata.xml b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml new file mode 100644 index 0000000000..4c4c52aa7d --- /dev/null +++ b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml @@ -0,0 +1,17 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + + martijn@openbsd.org + Martijn van Duren + + + + Enable ED25519 support + + diff --git a/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild new file mode 100644 index 0000000000..f86e8f27d9 --- /dev/null +++ b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${P#opensmtpd-}" +DESCRIPTION="OpenSMTPD filter for DKIM signing" +HOMEPAGE="http://imperialat.at/dev/filter-dkimsign/" +SRC_URI="http://imperialat.at/releases/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ed25519" + +DEPEND=" + dev-libs/libopensmtpd:= + dev-libs/openssl:= +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + tc-export CC +} + +src_compile() { + local myargs=( + MANFORMAT=mdoc + LIBCRYPTOPC=libcrypto + $(usex ed25519 HAVE_ED25519=1 '') + ) + emake -f Makefile.gnu "${myargs[@]}" +} + +src_install() { + local myargs=( + MANFORMAT=mdoc + DESTDIR="${D}" + LOCALBASE="${EPREFIX}"/usr + ) + emake -f Makefile.gnu "${myargs[@]}" install +} diff --git a/net-client/lagrange/Manifest b/net-client/lagrange/Manifest index bf55a11e37..e594c40859 100644 --- a/net-client/lagrange/Manifest +++ b/net-client/lagrange/Manifest @@ -1,4 +1,4 @@ -DIST lagrange-1.13.6.tar.gz 9872058 BLAKE2B 222b70954c7e403889d540da5045de23258f63d5cd2e8d06f287bf10f50de2fe0dcd76cd9c2ffe19dc5156ee99c21d831f4c8b886cd1f867f0f08b2fb4fb5455 SHA512 a7693d8bc63c14004def4ce7ae5e5ebcd15c8e91b993b1735dbbaef6fbebb3f732eced8223ae46c4fef951a23e2d8558cd07d3d163c9e3f1c120b7db477d11c1 -DIST lagrange-1.13.6.tar.gz.sig 488 BLAKE2B 3828e0a9c5b108048ebd2376ce017367db6e9e99e2c43a0edd519047e5b2e90bfee18ba38fc605add8058ae0a9bad97c9c1e9797ac255c65bcd4b4456dd762d2 SHA512 4101581d4d62d373e4cfab95a0cdd708ca4d4f83ce6942a07ee57e1ed1aea9f5a4146f262ab50544615fdc1b355d57e97b521b25e93aade7b8f80b71a47dc59f DIST lagrange-1.13.7.tar.gz 9879262 BLAKE2B 02970cb6e3667846c315f47702de0d22f7de5f2eec834697a762a57a2caacc2c538bae493a54856cb6826a438cb9cd4af4e5ecc49b028b9c4f0024d89f1e617e SHA512 7bbc2acc63778d5130ffbaf6c53279c59caadf7a7a4078516e624d6f670ca71cedb4c96f4b19f8280467b9edaf7c71c19e4b446d04a77417a3568cc0a8fc7b59 DIST lagrange-1.13.7.tar.gz.sig 488 BLAKE2B 2af19a7da09cee59cafcf28f73c6baa143ccb91b5949e618a6431c35596a008d3db9dc26ef471359bec2f4030f9af32369b165678cc44be882677f7989831c73 SHA512 e6f15b5f6a600ad4f94989e5ebc621f50b1b8ff8825fae7d5c1dc53b936aa8855812dbf3e73c40cfeb46313ab4b721559c5193c1768620eb3fb80cc987c46fa4 +DIST lagrange-1.13.8.tar.gz 9879616 BLAKE2B 4531d465c1bb0f956d5cf091784c70d67f154475361e27908de9d639ac72052fa5233e0910e45181b176c08460d485ee869787518ef0899ed2eb29bf2488300d SHA512 a948dcf5080ba29e3092f27a63a7227326ef142d34a579817211e10d1bea89b7741449cbcf438d73fd77479071daa0dd041d708765cc7b2e8b1980343e317418 +DIST lagrange-1.13.8.tar.gz.sig 488 BLAKE2B 917760c54ac7155ab475d2a47966604374b35040df8a86cf5df39ef51263160feaa6926ebe8e007b6414d230c349a2f8e141379b8123747f54af05809de4634e SHA512 4ba9e3da9b526f27ca77ee2481ae97d31945737b301476e383fd5e8c6e47bbed63e5b35afe3fb3945550cf030be3115ce279dad8f85240e374d982df6e3a4876 diff --git a/net-client/lagrange/lagrange-1.13.6.ebuild b/net-client/lagrange/lagrange-1.13.8.ebuild similarity index 83% rename from net-client/lagrange/lagrange-1.13.6.ebuild rename to net-client/lagrange/lagrange-1.13.8.ebuild index 84f399d920..8ff7f03dfb 100644 --- a/net-client/lagrange/lagrange-1.13.6.ebuild +++ b/net-client/lagrange/lagrange-1.13.8.ebuild @@ -18,7 +18,7 @@ IUSE="+fribidi +harfbuzz mp3 ncurses webp" DEPEND=" >=dev-libs/tfdn-1.1.0:=[ssl] fribidi? ( dev-libs/fribidi ) - ncurses? ( dev-libs/sealcurses ) + ncurses? ( dev-libs/sealcurses:= ) !ncurses? ( harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] ) media-libs/libsdl2[sound(+),video(+)] @@ -27,8 +27,10 @@ DEPEND=" webp? ( media-libs/libwebp:= ) " RDEPEND="${DEPEND}" -BDEPEND="app-arch/zip - verify-sig? ( sec-keys/openpgp-keys-skyjake )" +BDEPEND=" + app-arch/zip + verify-sig? ( sec-keys/openpgp-keys-skyjake ) +" VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/skyjake.asc" @@ -36,16 +38,13 @@ src_prepare() { # checked by Depends.cmake rm -r lib/the_Foundation/CMakeLists.txt || die - sed "/elseif (ENABLE_TUI AND (UNIX OR MSYS))/a include (GNUInstallDirs)" \ - -i CMakeLists.txt || die - cmake_src_prepare } src_configure() { - # do not add use flags that don't pull dependencies + # note: do not add use flags that don't pull dependencies # and only choose which files to compile (e.g. "ipc") - local mycmakeargs=( + local -a mycmakeargs=( -DENABLE_FRIBIDI=$(usex fribidi) -DENABLE_HARFBUZZ=$(usex harfbuzz) -DENABLE_TUI=$(usex ncurses) diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest index 5cb67bc382..ebea2836ac 100644 --- a/net-p2p/popura/Manifest +++ b/net-p2p/popura/Manifest @@ -1,2 +1,2 @@ -DIST popura-0.4.6-deps.tar.bz2 39539473 BLAKE2B a9b12f4897bdd03c5d72985704f908714c0a93b1689dbea64b1cfdaa2f19beb8e6a39f390dca0a57be0e7d4fbbeb505404262df9d64a439871a61f6f3f7d6c7f SHA512 981343f356bf0e826539f0af470e3451aa1e1c98490d8ca293bfd6c3d2faa40a0f25ba231a15c7d5a0918bcdd346a0610c9373a75de7f65da633e67e890ce1d0 +DIST popura-0.4.6-vendor.tar.xz 1075916 BLAKE2B af54506ea8ec27de78c2481ba47b1b8bb25ef20bb90a198492eec9b0b5e0e72b94f40e441ed0218032665bf3860dc060481ae217dc0d2a8149cd352fa8a4ea9e SHA512 f241ec372952fd9730b477d5cb72fc9f3efc4c98c5f0a65d4f03be98e90a76eb3090d21abbb46c72c74a282f33edc080b73ac1ed66cd31694fe81aca6aa7d061 DIST popura-0.4.6.tar.gz 45804 BLAKE2B 52da18837dfdc3350d339374b1a8903875d5bb60643aa337365d3f0ed741a228775b61191b6cfa6908f797fae0b8a387b41ed1474b6d694d5d044dd06317e549 SHA512 0ff3c00a844302b8b4d30d6bf5544b45b49b2a3db0d602038fae8f9ea75b2de3bd14a38f865df1a0f67196dc1781a0cb12fa0c85a3cd0469581c45106bc5b75b diff --git a/net-p2p/popura/popura-0.4.6.ebuild b/net-p2p/popura/popura-0.4.6.ebuild index 61b1e32821..0b8ec247bb 100644 --- a/net-p2p/popura/popura-0.4.6.ebuild +++ b/net-p2p/popura/popura-0.4.6.ebuild @@ -8,8 +8,8 @@ inherit go-module linux-info systemd fcaps DESCRIPTION="Popura: alternative Yggdrasil network client" HOMEPAGE="https://github.com/popura-network/Popura/" SRC_URI=" - https://github.com/popura-network/Popura/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2 + https://github.com/popura-network/Popura/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/popura-network/Popura/releases/download/v${PV}/popura-${PV}-vendor.tar.xz " LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB" diff --git a/profiles/categories b/profiles/categories index 02977becc9..70e48d6c6d 100644 --- a/profiles/categories +++ b/profiles/categories @@ -3,5 +3,6 @@ dev-hare dev-nim dev-octave dev-R +dev-zig mpv-plugin net-client diff --git a/profiles/package.mask b/profiles/package.mask index 5bdf118701..335e640d71 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -14,6 +14,10 @@ # New entries go on top. +# Anna Vyalkova (2022-11-04) +# Depends on masked dev-python/tempita, has unresolved bugs (#854177) +dev-python/sqlalchemy-migrate + # Anna Vyalkova (2022-10-30) # Archived upstream, fails to build (#817254, #860324). # Masked for removal in 30 days. diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest index 5e7e68a006..588c78179d 100644 --- a/www-apps/mycorrhiza/Manifest +++ b/www-apps/mycorrhiza/Manifest @@ -1,2 +1,2 @@ -DIST mycorrhiza-1.12.1-deps.tar.bz2 21760292 BLAKE2B 42f64ea142ac37d13265656a3efdab2f4be02db4d60cda2b2e4776bfa0905ce9280d08e8f6f8042ba69692ffb41f34ce3df0de8ceab69365feef08648d6f6f02 SHA512 db38fcc2efddd37f50ff9da56bf9f4ae68e9f91ae1bfdbab77135724fd90a30443765f411deecb374744583a5c7b03b136982a3a1d585e676a7a42e9e01298f4 -DIST mycorrhiza-1.12.1.tar.gz 136377 BLAKE2B bd1112143262d7db6aa5f2dbe3a0abe96c56c6fbfa897110579799264943abdbaf976cc5603620eb0e8d541e8ba731bde5e1aacb9fd2c9ac02e1e73cfd19ed04 SHA512 2eee4ce46ad6cd05a1afa3aa4b1ee8b1f769c52eb4ddb9cacbf77e65704121cff5f2f8aded634d87cf3330182351be52739ea04a51730678bdd9c4b04fd8d376 +DIST mycorrhiza-1.13.0-vendor.tar.xz 619980 BLAKE2B 4a96132acd1e97105265dad263094a4be97a7ba30edf98e969a28363db2b4a11fd47f107eda7914decaa98b096e84cecbb96031ee10a1fc98b2239d9850325a9 SHA512 a8d2aaf15a9845830cac49a31c17a78b6beda2b39fcbc953111bb904bd3eee96d67411dcb5b97ff6b80005ebdb65066aa1816c8fc7d75a7525942f78a4d72e93 +DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc SHA512 ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4 diff --git a/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild similarity index 92% rename from www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild rename to www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild index 8295bd38f5..f4f2c4af09 100644 --- a/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild +++ b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild @@ -10,14 +10,15 @@ HOMEPAGE="https://mycorrhiza.wiki" SRC_URI=" https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2 + https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz " KEYWORDS="~amd64 ~x86" LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0" SLOT="0" +RESTRICT="mirror" -BDEPEND=">=dev-lang/go-1.18.0" +BDEPEND=">=dev-lang/go-1.19.0" RDEPEND="dev-vcs/git" src_compile() { @@ -27,6 +28,7 @@ src_compile() { src_install() { dobin mycorrhiza doman help/mycorrhiza.1 + dodoc Boilerplate.md dodoc README.md } diff --git a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild index fa001ef26c..a25c3ce319 100644 --- a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild +++ b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild @@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza" LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0" SLOT="0" -BDEPEND=">=dev-lang/go-1.18.0" +BDEPEND=">=dev-lang/go-1.19.0" RDEPEND="dev-vcs/git" src_unpack() { @@ -28,6 +28,7 @@ src_compile() { src_install() { dobin mycorrhiza doman help/mycorrhiza.1 + dodoc Boilerplate.md dodoc README.md } diff --git a/x11-misc/sxcs/sxcs-0.7.ebuild b/x11-misc/sxcs/sxcs-0.7.ebuild index 4d235209c3..88ff0eaf97 100644 --- a/x11-misc/sxcs/sxcs-0.7.ebuild +++ b/x11-misc/sxcs/sxcs-0.7.ebuild @@ -23,10 +23,10 @@ RDEPEND=" DEPEND="${RDEPEND}" src_compile() { + # bug: https://bugs.gentoo.org/879833 emake \ CC=$(tc-getCC) \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" + CFLAGS="${CFLAGS} ${LDFLAGS}" } src_install() {