[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 50e73ceb3dc666d892773f58aadc80cd77382b57 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Mar 15 02:49:23 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Mar 15 02:49:23 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50e73ceb dev-python/pytest-sanic: treeclean Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pytest-sanic/Manifest | 1 - dev-python/pytest-sanic/metadata.xml | 19 dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild | 53 --- 3 files changed, 73 deletions(-) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest deleted file mode 100644 index c905f80b0..0 --- a/dev-python/pytest-sanic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytest-sanic-1.7.1.tar.gz 30888 BLAKE2B 24623e47fb05db9919cfd0b41468261697ac70c7bc3e47a3c6c86efadbddd3c80f2e6173eb109206472d0b639ecd20edd0cebb244bd96ed1d2ca10dd88924b5b SHA512 a55ffd1c878478bd42aad5dc023f83e880ead4fb8538a24d327bd0fb7f811e0d3679e49206835ee7f98ac0a02dedb05f6fa729252eab7972879c196c57e3f071 diff --git a/dev-python/pytest-sanic/metadata.xml b/dev-python/pytest-sanic/metadata.xml deleted file mode 100644 index e71c2c30b..0 --- a/dev-python/pytest-sanic/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - -A pytest plugin for Sanic. It helps you to test your code asynchronously. - -This plugin provides: - -very easy testing with async coroutines -common and useful fixtures -asynchronous fixture support -test_client/sanic_client for Sanic application -test_server for Sanic application - - -yunstanford/pytest-sanic - - diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild deleted file mode 100644 index d91cd4e33..0 --- a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DISTUTILS_USE_SETUPTOOLS="pyproject.toml" -PYTHON_COMPAT=( python3_{8,9} ) - -inherit distutils-r1 - -DESCRIPTION="a Pytest Plugin for Sanic" -HOMEPAGE=" - https://pypi.python.org/pypi/pytest-sanic - https://github.com/yunstanford/pytest-sanic -" -SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/async_generator-1.10[${PYTHON_USEDEP}] - >=dev-python/httpx-0.15.4[${PYTHON_USEDEP}] - >=dev-python/pytest-5.2[${PYTHON_USEDEP}] - >=dev-python/websockets-8.1[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( >=dev-python/sanic-20.12.2[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest -# where is the conf.py file? make html can't find it either -#distutils_enable_sphinx docs - -python_test() { - distutils_install_for_testing - pytest -vv \ - --deselect tests/test_client.py::test_fixture_sanic_client_get \ - --deselect tests/test_client.py::test_fixture_sanic_client_post \ - --deselect tests/test_client.py::test_fixture_sanic_client_put \ - --deselect tests/test_client.py::test_fixture_sanic_client_delete \ - --deselect tests/test_client.py::test_fixture_sanic_client_patch \ - --deselect tests/test_client.py::test_fixture_sanic_client_options \ - --deselect tests/test_client.py::test_fixture_sanic_client_head \ - --deselect tests/test_client.py::test_fixture_sanic_client_close \ - --deselect tests/test_client.py::test_fixture_sanic_client_passing_headers \ - --deselect tests/test_client.py::test_fixture_sanic_client_context_manager \ - --deselect tests/test_client.py::test_fixture_test_client_context_manager \ - || die "Tests failed with ${EPYTHON}" - -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 17f53ac8fc92cd92c875823cb588bc755d1d86a2 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun May 30 15:53:06 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun May 30 15:53:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17f53ac8 dev-python/pytest-sanic: drop old Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytest-sanic/Manifest | 1 - dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild | 36 --- 2 files changed, 37 deletions(-) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest index 2d751be0e..c905f80b0 100644 --- a/dev-python/pytest-sanic/Manifest +++ b/dev-python/pytest-sanic/Manifest @@ -1,2 +1 @@ -DIST pytest-sanic-1.6.2.tar.gz 31480 BLAKE2B e579df1100bb83e95599f9d3e54892feef7186dd7a49375f618868ba3b1d73ac966224332e9751fe05b62e63cd31d2a2bed23d2e243fa75bc5445f9d85fd4a8e SHA512 d04e6dbfb11f6a348923e0683848da4cb243c3ba158906f1fc56c24d23a9f947e199c16a2d8769152e46acf5c9cc179361b87c646d95075fb499d58376dce941 DIST pytest-sanic-1.7.1.tar.gz 30888 BLAKE2B 24623e47fb05db9919cfd0b41468261697ac70c7bc3e47a3c6c86efadbddd3c80f2e6173eb109206472d0b639ecd20edd0cebb244bd96ed1d2ca10dd88924b5b SHA512 a55ffd1c878478bd42aad5dc023f83e880ead4fb8538a24d327bd0fb7f811e0d3679e49206835ee7f98ac0a02dedb05f6fa729252eab7972879c196c57e3f071 diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild deleted file mode 100644 index 8f5829252..0 --- a/dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 - -DESCRIPTION="a Pytest Plugin for Sanic" -HOMEPAGE=" - https://pypi.python.org/pypi/pytest-sanic - https://github.com/yunstanford/pytest-sanic -" -SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/async_generator[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/sanic[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -# where is the conf.py file? make html can't find it either -#distutils_enable_sphinx docs - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 01f86b513b676cfd6d355bcf3d03f8fedd8c2c7a Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun May 30 15:52:49 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun May 30 15:53:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01f86b51 dev-python/pytest-sanic: drop websockets restriction Package-Manager: Portage-3.0.19, Repoman-3.0.3 RepoMan-Options: --force Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild index ae354f58f..68fed1c3a 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild @@ -24,7 +24,6 @@ RDEPEND=" >=dev-python/httpx-0.15.4[${PYTHON_USEDEP}] >=dev-python/pytest-5.2[${PYTHON_USEDEP}] >=dev-python/websockets-8.1[${PYTHON_USEDEP}] -
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 887554a80c38f67c0fba91064ec7823dce0fec82 Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri May 28 10:26:26 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri May 28 10:26:26 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=887554a8 dev-python/pytest-sanic: remove blank line Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild index f45dbde92..ae354f58f 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild @@ -31,7 +31,6 @@ DEPEND=" test? ( >=dev-python/sanic-20.12.2[${PYTHON_USEDEP}] ) " - distutils_enable_tests pytest # where is the conf.py file? make html can't find it either #distutils_enable_sphinx docs
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 598bfa396f7dd1bf566e7c26fed16c813764bbef Author: Alessandro Barbieri gmail com> AuthorDate: Thu May 27 14:25:27 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Thu May 27 14:48:17 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=598bfa39 dev-python/pytest-sanic: add 1.7.1 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pytest-sanic/Manifest | 1 + dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild | 55 +++ 2 files changed, 56 insertions(+) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest index b35148c50..2d751be0e 100644 --- a/dev-python/pytest-sanic/Manifest +++ b/dev-python/pytest-sanic/Manifest @@ -1 +1,2 @@ DIST pytest-sanic-1.6.2.tar.gz 31480 BLAKE2B e579df1100bb83e95599f9d3e54892feef7186dd7a49375f618868ba3b1d73ac966224332e9751fe05b62e63cd31d2a2bed23d2e243fa75bc5445f9d85fd4a8e SHA512 d04e6dbfb11f6a348923e0683848da4cb243c3ba158906f1fc56c24d23a9f947e199c16a2d8769152e46acf5c9cc179361b87c646d95075fb499d58376dce941 +DIST pytest-sanic-1.7.1.tar.gz 30888 BLAKE2B 24623e47fb05db9919cfd0b41468261697ac70c7bc3e47a3c6c86efadbddd3c80f2e6173eb109206472d0b639ecd20edd0cebb244bd96ed1d2ca10dd88924b5b SHA512 a55ffd1c878478bd42aad5dc023f83e880ead4fb8538a24d327bd0fb7f811e0d3679e49206835ee7f98ac0a02dedb05f6fa729252eab7972879c196c57e3f071 diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild new file mode 100644 index 0..f45dbde92 --- /dev/null +++ b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="a Pytest Plugin for Sanic" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-sanic + https://github.com/yunstanford/pytest-sanic +" +SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/async_generator-1.10[${PYTHON_USEDEP}] + >=dev-python/httpx-0.15.4[${PYTHON_USEDEP}] + >=dev-python/pytest-5.2[${PYTHON_USEDEP}] + >=dev-python/websockets-8.1[${PYTHON_USEDEP}] +
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: a34635da2cf9844f088ff10ba0207c823aec1f22 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Nov 26 12:10:12 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Nov 26 12:10:12 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a34635da dev-python/pytest-sanic: version bump, add py3.8 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-sanic/Manifest | 2 +- .../{pytest-sanic-1.6.1.ebuild => pytest-sanic-1.6.2.ebuild} | 9 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest index 6ac10cb7..b35148c5 100644 --- a/dev-python/pytest-sanic/Manifest +++ b/dev-python/pytest-sanic/Manifest @@ -1 +1 @@ -DIST pytest-sanic-1.6.1.tar.gz 30293 BLAKE2B 4c3ee937d94f31984461bc5bc7b1912065e5ef2aa9d3b9cd022b8d2555d6fde3a75db340c93a0d81123f6e2567ad98826e684afe04aed04ea3a2d57998a3f248 SHA512 a7ab19e83125d7b7cf0c3584f2e47bf51593d5991ffb42a171dea081cea0ceaffc88fdb602975f1d6d6c88c95621336963490992700f2e711310f3a2f30fafb7 +DIST pytest-sanic-1.6.2.tar.gz 31480 BLAKE2B e579df1100bb83e95599f9d3e54892feef7186dd7a49375f618868ba3b1d73ac966224332e9751fe05b62e63cd31d2a2bed23d2e243fa75bc5445f9d85fd4a8e SHA512 d04e6dbfb11f6a348923e0683848da4cb243c3ba158906f1fc56c24d23a9f947e199c16a2d8769152e46acf5c9cc179361b87c646d95075fb499d58376dce941 diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild similarity index 73% rename from dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild rename to dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild index ec16cbbb..8f582925 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.2.ebuild @@ -3,8 +3,7 @@ EAPI="7" -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) inherit distutils-r1 @@ -22,6 +21,8 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/sanic[${PYTHON_USEDEP}] " @@ -30,6 +31,6 @@ distutils_enable_tests pytest #distutils_enable_sphinx docs python_test() { - # skip this test: Task was destroyed but it is pending! - pytest -vv --deselect tests/test_client_websocket.py::test_fixture_sanic_client_ws || die "Tests failed with ${EPYTHON}" + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" }
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: e1306dd45aa16b0e9ca9acfdca5115bdf4d9 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Jun 30 18:58:07 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jun 30 18:58:07 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1306dd4 dev-python/pytest-sanic: drop py3_6 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild index bf36833..ec16cbb 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild @@ -4,7 +4,7 @@ EAPI="7" DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_7 ) inherit distutils-r1
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 493c38e2c8ec8e8b3acaae6f636dda2d3556de10 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Jun 9 14:18:31 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jun 9 14:18:31 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=493c38e2 dev-python/pytest-sanic: version bump, add py3_7 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-sanic/Manifest | 2 +- .../{pytest-sanic-1.6.0.ebuild => pytest-sanic-1.6.1.ebuild} | 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest index 8993220..6ac10cb 100644 --- a/dev-python/pytest-sanic/Manifest +++ b/dev-python/pytest-sanic/Manifest @@ -1 +1 @@ -DIST pytest-sanic-1.6.0.tar.gz 30185 BLAKE2B 737779cfbf850d511194c843f8fa83cb6a69ac5fb46195b2f9f5537f581bd41626de5a4cca35acf942f3dbb0560020d762026255387c3a7bcd7f7afaec5de5ad SHA512 efd284fba92c202036f1c28e91e671954b948243bd847f092e72bcda5ac4d734dbe7007f9beb0d60aa353843731891680e3c3bc7d2bf211fc34f42f6e1a92373 +DIST pytest-sanic-1.6.1.tar.gz 30293 BLAKE2B 4c3ee937d94f31984461bc5bc7b1912065e5ef2aa9d3b9cd022b8d2555d6fde3a75db340c93a0d81123f6e2567ad98826e684afe04aed04ea3a2d57998a3f248 SHA512 a7ab19e83125d7b7cf0c3584f2e47bf51593d5991ffb42a171dea081cea0ceaffc88fdb602975f1d6d6c88c95621336963490992700f2e711310f3a2f30fafb7 diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild similarity index 75% rename from dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild rename to dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild index 292a3dc..bf36833 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.1.ebuild @@ -4,7 +4,7 @@ EAPI="7" DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -28,3 +28,8 @@ RDEPEND=" distutils_enable_tests pytest # where is the conf.py file? make html can't find it either #distutils_enable_sphinx docs + +python_test() { + # skip this test: Task was destroyed but it is pending! + pytest -vv --deselect tests/test_client_websocket.py::test_fixture_sanic_client_ws || die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 9e1e32f6166287573bbd421ebe18d9293e55862e Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Mar 29 13:18:27 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Mar 29 13:18:27 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e1e32f6 dev-python/pytest-sanic: should depend on sanic otherwise all tests on all packages with pytest will fail Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild index 2f4dd3a..292a3dc 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild @@ -22,13 +22,9 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/async_generator[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/sanic[${PYTHON_USEDEP}] - ) + dev-python/sanic[${PYTHON_USEDEP}] " distutils_enable_tests pytest -distutils_enable_sphinx docs +# where is the conf.py file? make html can't find it either +#distutils_enable_sphinx docs
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-sanic/
commit: 69dd05e63464ed5b753374543cf0e7d4b268e409 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Mar 29 09:05:15 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Mar 29 09:29:02 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69dd05e6 dev-python/pytest-sanic: new package Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pytest-sanic/Manifest | 1 + dev-python/pytest-sanic/metadata.xml | 22 +++ dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild | 34 +++ 3 files changed, 57 insertions(+) diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest new file mode 100644 index 000..8993220 --- /dev/null +++ b/dev-python/pytest-sanic/Manifest @@ -0,0 +1 @@ +DIST pytest-sanic-1.6.0.tar.gz 30185 BLAKE2B 737779cfbf850d511194c843f8fa83cb6a69ac5fb46195b2f9f5537f581bd41626de5a4cca35acf942f3dbb0560020d762026255387c3a7bcd7f7afaec5de5ad SHA512 efd284fba92c202036f1c28e91e671954b948243bd847f092e72bcda5ac4d734dbe7007f9beb0d60aa353843731891680e3c3bc7d2bf211fc34f42f6e1a92373 diff --git a/dev-python/pytest-sanic/metadata.xml b/dev-python/pytest-sanic/metadata.xml new file mode 100644 index 000..cef4490 --- /dev/null +++ b/dev-python/pytest-sanic/metadata.xml @@ -0,0 +1,22 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +lssndrbarbi...@gmail.com +Alessandro Barbieri + + +A pytest plugin for Sanic. It helps you to test your code asynchronously. + +This plugin provides: + +very easy testing with async coroutines +common and useful fixtures +asynchronous fixture support +test_client/sanic_client for Sanic application +test_server for Sanic application + + +yunstanford/pytest-sanic + + diff --git a/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild new file mode 100644 index 000..2f4dd3a --- /dev/null +++ b/dev-python/pytest-sanic/pytest-sanic-1.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="a Pytest Plugin for Sanic" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-sanic + https://github.com/yunstanford/pytest-sanic +" +SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/async_generator[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/sanic[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs