From ab9f93926f8bfcee8800a58b13523ae191397b53 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 24 May 2020 09:50:48 +0200 Subject: [PATCH 01/12] app-crypt/reop: New package Signed-off-by: Haelwenn (lanodan) Monnier --- app-crypt/reop/Manifest | 1 + app-crypt/reop/metadata.xml | 8 ++++++++ app-crypt/reop/reop-2.1.1.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 app-crypt/reop/Manifest create mode 100644 app-crypt/reop/metadata.xml create mode 100644 app-crypt/reop/reop-2.1.1.ebuild diff --git a/app-crypt/reop/Manifest b/app-crypt/reop/Manifest new file mode 100644 index 0000000000..9a0f2e9650 --- /dev/null +++ b/app-crypt/reop/Manifest @@ -0,0 +1 @@ +DIST reop-2.1.1.tgz 32533 BLAKE2B 48d6182f4f6a629f8b32c8144205abd7c719a5586a83914d4d4c574cde3f3b5d32c637bc7cd7c568b9da6164a65d331b38fb96491ac7ff2a2dab7023f8b8b885 SHA512 ce145cfb7c2347c4df4b6a25f28dab22d6bd0b3cf27d9fcb42b81d969634b122b706aff01c1c3108557d5778981dd8a025ac29d1aa2dfe9e77902ed24daa8ef1 diff --git a/app-crypt/reop/metadata.xml b/app-crypt/reop/metadata.xml new file mode 100644 index 0000000000..c698af2344 --- /dev/null +++ b/app-crypt/reop/metadata.xml @@ -0,0 +1,8 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild new file mode 100644 index 0000000000..e9ff7d509f --- /dev/null +++ b/app-crypt/reop/reop-2.1.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020 Haelwenn (lanodan) Monnier +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="reasonable expectation of privacy" +HOMEPAGE="https://flak.tedunangst.com/post/reop" +SRC_URI="https://flak.tedunangst.com/files/reop-2.1.1.tgz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/libsodium:=" +RDEPEND="${DEPEND}" + +src_compile() { + emake CC="${CC}" CFLAGS="${CFLAGS}" +} + +src_test() { + cd ./test || die + ./test.sh || die +} +src_install() { + dobin reop + doman repo.1 +} From f38a7f246e579c3698ed94ee1a9b9832965ecb3a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 24 May 2020 10:02:51 +0200 Subject: [PATCH 02/12] app-crypt/reop: Fix typo Signed-off-by: Haelwenn (lanodan) Monnier --- app-crypt/reop/reop-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild index e9ff7d509f..d6b106367b 100644 --- a/app-crypt/reop/reop-2.1.1.ebuild +++ b/app-crypt/reop/reop-2.1.1.ebuild @@ -23,5 +23,5 @@ src_test() { } src_install() { dobin reop - doman repo.1 + doman reop.1 } From 58920c0d071bece457b8d279472a5b3b927190be Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 09:54:09 +0200 Subject: [PATCH 03/12] games-action/ATLauncher: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- .../{ATLauncher-3.3.4.8.ebuild => ATLauncher-3.3.5.0.ebuild} | 0 games-action/ATLauncher/Manifest | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename games-action/ATLauncher/{ATLauncher-3.3.4.8.ebuild => ATLauncher-3.3.5.0.ebuild} (100%) diff --git a/games-action/ATLauncher/ATLauncher-3.3.4.8.ebuild b/games-action/ATLauncher/ATLauncher-3.3.5.0.ebuild similarity index 100% rename from games-action/ATLauncher/ATLauncher-3.3.4.8.ebuild rename to games-action/ATLauncher/ATLauncher-3.3.5.0.ebuild diff --git a/games-action/ATLauncher/Manifest b/games-action/ATLauncher/Manifest index d5e8547bc4..6adaf4ac05 100644 --- a/games-action/ATLauncher/Manifest +++ b/games-action/ATLauncher/Manifest @@ -1,2 +1,2 @@ -DIST ATLauncher-3.3.4.8.jar 10794525 BLAKE2B 5757c87450ffb4dbd558b58bdea5c3d841e02d12ae8bc35dd94a22a014421ea8143da97b34daaa07d3f8d7606072eadf7a02be41e5a2cf80ccda202233bd94ed SHA512 227ed12080f2546c431432eeda808029399a75f54941f7bd9cf71055157a16944e37e43f89a3aec75df1f02e0c837d41c5c3cbd41d2836ca4adaf2c8b6192540 +DIST ATLauncher-3.3.5.0.jar 10796668 BLAKE2B 588f4163bcfb8f146db6443f11594ef7978c63e3de3e2b9b02b1ad4f2860974be939be89cb6ca9de58a1faf300ac4581ae4207c3f67cd8125e06a4c5a1ad1074 SHA512 31cc2ff2c153cbf5f5367b7e87dc13e8faad6a6b494f58b44764b4ef1f07b3b394e5cd10b28220916342a7b32b180d74c40831f9ae6178379b90da91ec08c26a DIST ATLauncher.ico 370070 BLAKE2B 992e5df968054884c21f136b8f16f2b14e8d321b2196ebc07f7a59621223ca79b896f63b21dba864f61f238ca1864039a410d8089127714163092f65d0ca7f27 SHA512 353f6dd68475778cc8e97a773e800fe532df2f6d28d5babc751cfb5ed7ef24ef6246f76d26e3e25706e458741d604bb8fa8e79cb8904900284f0f7b0f9488bfb From 5d5007c0dcb27d2070f63c4995dea93ccd0aaaa3 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 10:33:50 +0200 Subject: [PATCH 04/12] dev-python/pytest-trio: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/pytest-trio/Manifest | 1 + .../pytest-trio/pytest-trio-0.6.0.ebuild | 67 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/pytest-trio/pytest-trio-0.6.0.ebuild diff --git a/dev-python/pytest-trio/Manifest b/dev-python/pytest-trio/Manifest index f6eebccf3b..d17b5024a5 100644 --- a/dev-python/pytest-trio/Manifest +++ b/dev-python/pytest-trio/Manifest @@ -1 +1,2 @@ DIST pytest-trio-0.5.2.tar.gz 35372 BLAKE2B 158e59d81fab6b56e37e92e28f8fdabb5d330dfc57b7774dcde4156165e3f5336647c9382268b50a5f70806449107ab2c7ec6d1a34f6bc773825b4fbb50b03a1 SHA512 0ab0bcfd3b1ef4859a49fa9d5dacbc698882f4f95ee113f241b49d8a7f000dbae1d982a13a87e18f96d51af1278b20298dd1af8d2ab1f563e91e74f7232f46a5 +DIST pytest-trio-0.6.0.tar.gz 37835 BLAKE2B 4158cfc81fc6db3aa9f049127f6550de4ac55fd881c4e35b67bdcfe0492470dce6ee5df9077962b46b6233f942fcc944b41cd185897ddb83824ad1a31abb846e SHA512 662719e67f5d71f73b2e5389592812b79b296b7fdd8ff6f491961bd5444958e829c46a3bd79f08e9b8b8638125c48edd459f599acc2e071fc0cf8013525a3739 diff --git a/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild b/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild new file mode 100644 index 0000000000..9376d181eb --- /dev/null +++ b/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="This is a pytest plugin to help you test projects that use Trio" +HOMEPAGE=" + https://github.com/python-trio/pytest-trio + https://pypi.org/project/pytest-trio +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# lots of different errors +RESTRICT="test" + +RDEPEND=" + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/trio-0.15[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + !~dev-python/pytest-3.7.0[${PYTHON_USEDEP}] + !~dev-python/pytest-3.7.1[${PYTHON_USEDEP}] + >=dev-python/pytest-4.3[${PYTHON_USEDEP}] + dev-python/trio-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + ">=dev-python/attrs-17.4.0" \ + ">=dev-python/sphinx-1.6.1" \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxcontrib-trio + +python_prepare_all() { + #fix for https://github.com/python-trio/pytest-trio/issues/90 + # AttributeError("module 'pytest' has no attribute 'RemovedInPytest4Warning'",) + rm pytest_trio/_tests/conftest.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # has to be run in source dir + #even upstream doesn't know how to run their tests + #https://github.com/python-trio/pytest-trio/issues/84 + #"Our CI is still passing AFAIK" + + PYTHONPATH="${S}" + cd "${S}" || die + pytest -vv || die "Tests fail with ${EPYTHON}" +} From aafa58b5cded6aedd0ce468feeefa7fed6c3492e Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 10:34:07 +0200 Subject: [PATCH 05/12] dev-python/trio: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/trio/Manifest | 1 + dev-python/trio/trio-0.15.1.ebuild | 63 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-python/trio/trio-0.15.1.ebuild diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 7d8d72d3ed..9d1111f4a7 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1,2 @@ DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e +DIST trio-0.15.1.tar.gz 457493 BLAKE2B 9123510032f8e59b67bde778c1270d0fd18771806120866741f4e03f6e3f354ad34d06d75b23f38d53fa43e0832cc51060049b81a35be14b4ce043e32672b77d SHA512 48ff7e00e67ad11d09faf643275982e893ee7d533396dd9fe2558d38390693acf9e023fddbc8b00b7d12090154c0610fa71e65d003e110cfbb47b3f0eb3e8469 diff --git a/dev-python/trio/trio-0.15.1.ebuild b/dev-python/trio/trio-0.15.1.ebuild new file mode 100644 index 0000000000..b83b175776 --- /dev/null +++ b/dev-python/trio/trio-0.15.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 linux-info + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # Disable tests require IPv6 + if ! linux_config_exists || ! linux_chkconfig_present IPV6; then + sed -i -e "/for family in/s/, AF_INET6//" \ + -e "/test_getaddrinfo/i@pytest.mark.skip(reason='no IPv6')" \ + trio/tests/test_socket.py || die "sed failed for test_socket.py" + fi + + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +} From 060115781d1df75e46604f561e3275a1a0b8f453 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 10:34:25 +0200 Subject: [PATCH 06/12] dev-python/httpcore: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/httpcore/Manifest | 1 + dev-python/httpcore/httpcore-0.9.0.ebuild | 48 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/httpcore/httpcore-0.9.0.ebuild diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index 60b92b6aaf..9fc05bcad0 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -1 +1,2 @@ DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd +DIST httpcore-0.9.0.tar.gz 35349 BLAKE2B 8d543a9b8c0298a0c558ae0045dec82bdf3267acd1d683339a70fb5b8807a5c4600963a9b6c2634081f0d2c8a85015124d3ebdc58250f8a8e67c40d5a3a93d10 SHA512 b4369b8d9581521f68842431513c836ca6b2e08da54342fb7530f68e8e3bb906868858943243945c7591da175f760fcc291d2cba50b1cdb939f34bca962c80fc diff --git a/dev-python/httpcore/httpcore-0.9.0.ebuild b/dev-python/httpcore/httpcore-0.9.0.ebuild new file mode 100644 index 0000000000..7e0dad5a1f --- /dev/null +++ b/dev-python/httpcore/httpcore-0.9.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DOCBUILDER="mkdocs" +DOCDEPEND="dev-python/mkdocs-material" +AUTODOC=1 + +inherit distutils-r1 docs + +DESCRIPTION="A minimal HTTP client" +HOMEPAGE=" + https://github.com/encode/httpcore + https://pypi.org/project/httpcore +" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Temporary failure in name resolution +# requires masked mitmproxy +RESTRICT="test" + +RDEPEND=" + dev-python/h11[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-python/autoflake[${PYTHON_USEDEP}] + dev-python/black[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest From f8bc4457ab14ef2e6756bebd276ae8144680b82b Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 10:34:40 +0200 Subject: [PATCH 07/12] dev-python/httpx: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/httpx/Manifest | 1 + dev-python/httpx/httpx-0.13.1.ebuild | 56 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-python/httpx/httpx-0.13.1.ebuild diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index d86f565be2..7cd7a928ac 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,3 +1,4 @@ DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08 SHA512 fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883 +DIST httpx-0.13.1.tar.gz 176011 BLAKE2B 9bbb8296a3acc6268a6d9cd577825543620ed9b2f577c7ee906f6d95bf3cec206b708b3d16eb9cc2f83d7a2eee32ec6bfced9ce3edb634689a61861d70753ab5 SHA512 f6647f1eaf406da93cf82de13e82a7b8f82af8101d939a33aeab40f17a4595875e2019f4c4591c45702cae99d861b50f4a60dcae4c7feb6ac28f0fde8eae8a87 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a diff --git a/dev-python/httpx/httpx-0.13.1.ebuild b/dev-python/httpx/httpx-0.13.1.ebuild new file mode 100644 index 0000000000..910989b9ef --- /dev/null +++ b/dev-python/httpx/httpx-0.13.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DOCBUILDER="mkdocs" +DOCDEPEND="dev-python/mkdocs-material" +AUTODOC=1 + +inherit distutils-r1 docs + +DESCRIPTION="A next generation HTTP client for Python" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/hstspreload[${PYTHON_USEDEP}] + dev-python/httpcore[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/rfc3986[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" + +DEPEND="test? ( + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + distutils-r1_python_prepare_all +} From e42a801a0c7d7fa43a3c05e8d7a78c7641348752 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 24 May 2020 15:06:00 +0100 Subject: [PATCH 08/12] media-sound/scream: new package Bug: https://bugs.gentoo.org/718800 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov --- media-sound/scream/Manifest | 1 + media-sound/scream/metadata.xml | 11 +++++++ media-sound/scream/scream-3.5.ebuild | 41 +++++++++++++++++++++++++++ media-sound/scream/scream-9999.ebuild | 41 +++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 media-sound/scream/Manifest create mode 100644 media-sound/scream/metadata.xml create mode 100644 media-sound/scream/scream-3.5.ebuild create mode 100644 media-sound/scream/scream-9999.ebuild diff --git a/media-sound/scream/Manifest b/media-sound/scream/Manifest new file mode 100644 index 0000000000..e2f3b4d000 --- /dev/null +++ b/media-sound/scream/Manifest @@ -0,0 +1 @@ +DIST scream-3.5.tar.gz 995382 BLAKE2B 96e5d0d0fe49a215ec78cb02be45fab700af90dd6ccce2e5f44f39aa3544046cf5b650ed0efadd7173ca01c382fc38f644bd237c4447695df024f03da6c1beb7 SHA512 39c61521160cc7d42a7934df42928b0198b85606fd5feb2c28a3ccb80714243398041aaa7dfef71d037570ecd30d8c790271589716643a87bda96478c14690d0 diff --git a/media-sound/scream/metadata.xml b/media-sound/scream/metadata.xml new file mode 100644 index 0000000000..368ae35c5b --- /dev/null +++ b/media-sound/scream/metadata.xml @@ -0,0 +1,11 @@ + + + + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + duncanthrax/scream + + diff --git a/media-sound/scream/scream-3.5.ebuild b/media-sound/scream/scream-3.5.ebuild new file mode 100644 index 0000000000..e246e9de68 --- /dev/null +++ b/media-sound/scream/scream-3.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Plays sound received from network or from a QEMU Windows VM" +HOMEPAGE="https://github.com/duncanthrax/scream" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"} +else + SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +S="${S}/Receivers/unix" + +LICENSE="Ms-PL" +SLOT="0" +IUSE="alsa pulseaudio" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + + cmake_src_configure +} diff --git a/media-sound/scream/scream-9999.ebuild b/media-sound/scream/scream-9999.ebuild new file mode 100644 index 0000000000..e246e9de68 --- /dev/null +++ b/media-sound/scream/scream-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Plays sound received from network or from a QEMU Windows VM" +HOMEPAGE="https://github.com/duncanthrax/scream" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/duncanthrax/scream.git"} +else + SRC_URI="https://github.com/duncanthrax/scream/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +S="${S}/Receivers/unix" + +LICENSE="Ms-PL" +SLOT="0" +IUSE="alsa pulseaudio" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DALSA_ENABLE=$(usex alsa) + -DPULSEAUDIO_ENABLE=$(usex pulseaudio) + ) + + cmake_src_configure +} From 0683e20a4162d1b33812d4ee7d8d6448aa8a4468 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 18:19:24 +0200 Subject: [PATCH 09/12] app-crypt/reop: fix typo in tests, still fails to compile Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- app-crypt/reop/reop-2.1.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild index d6b106367b..75f9643e63 100644 --- a/app-crypt/reop/reop-2.1.1.ebuild +++ b/app-crypt/reop/reop-2.1.1.ebuild @@ -18,8 +18,9 @@ src_compile() { } src_test() { - cd ./test || die - ./test.sh || die + cd ./tests || die + source test.sh || die + cd .. || die } src_install() { dobin reop From acc43d1933c62051c44952a2e0993ea964ca9c29 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 18:28:52 +0200 Subject: [PATCH 10/12] dev-cpp/cpp-taskflow: make repoman happy Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-cpp/cpp-taskflow/cpp-taskflow-2.3.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-cpp/cpp-taskflow/cpp-taskflow-2.3.1.ebuild b/dev-cpp/cpp-taskflow/cpp-taskflow-2.3.1.ebuild index 97255ac282..ced7f05318 100644 --- a/dev-cpp/cpp-taskflow/cpp-taskflow-2.3.1.ebuild +++ b/dev-cpp/cpp-taskflow/cpp-taskflow-2.3.1.ebuild @@ -30,7 +30,6 @@ PATCHES=( "${FILESDIR}"/${P}-fix-lib-path.patch ) - src_configure() { local mycmakeargs=( -DTF_BUILD_TESTS=$(usex test ON OFF) From bcde1573d267aec760b85cbb779585daa0118f7e Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 May 2020 18:30:04 +0200 Subject: [PATCH 11/12] app-crypt/reop: make repoman happy Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- app-crypt/reop/reop-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild index 75f9643e63..bc3e143bb3 100644 --- a/app-crypt/reop/reop-2.1.1.ebuild +++ b/app-crypt/reop/reop-2.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Haelwenn (lanodan) Monnier +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 From 9fed6fe0729bb7592dbeaff4de21eb940d37f281 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 24 May 2020 19:42:58 +0200 Subject: [PATCH 12/12] app-crypt/reop: Fallback on cc if $CC is unset Related: https://github.com/gentoo/guru/commit/ab9f93926f8bfcee8800a58b13523ae191397b53#commitcomment-39401778 Signed-off-by: Haelwenn (lanodan) Monnier --- app-crypt/reop/reop-2.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild index bc3e143bb3..124477a860 100644 --- a/app-crypt/reop/reop-2.1.1.ebuild +++ b/app-crypt/reop/reop-2.1.1.ebuild @@ -14,7 +14,7 @@ DEPEND="dev-libs/libsodium:=" RDEPEND="${DEPEND}" src_compile() { - emake CC="${CC}" CFLAGS="${CFLAGS}" + emake CC="${CC:-cc}" CFLAGS="${CFLAGS}" } src_test() {