[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: e0d0aebffed56852120a91a39e112d9ad77e56a1 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Feb 17 15:38:05 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Feb 17 15:40:27 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0d0aebf Revert "DO NOT MERGE THIS TO MASTER: check if we can make the test fail" This reverts commit 31bde09bcc9d5286833d49c3302bbae289793f78. the check failed sucessfully Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/sniffio/Manifest | 1 - dev-python/sniffio/metadata.xml | 12 dev-python/sniffio/sniffio-1.2.0.ebuild | 31 --- 3 files changed, 44 deletions(-) diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest deleted file mode 100644 index d096430d.. --- a/dev-python/sniffio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sniffio-1.2.0.gh.tar.gz 17335 BLAKE2B 0d67baa18702ac38932680bdc741c87ee0a31342cc752c1463a7f90720ea0ebf6d62ef682a042c58e8fe96456e1461638e0f02c6f60da5f5e0d07464be27a4a3 SHA512 8e1dd2bb6fc22ee5824adfffe688ff0621b8c1ef5daea594dedce13d5e04a498e05816bb32e9bbed206a653a330ff710df57c888ddcff00a6254eafddc538273 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml deleted file mode 100644 index 0c53f9f9.. --- a/dev-python/sniffio/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd";> - - - pyt...@gentoo.org - - - - python-trio/sniffio - sniffio - - diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild b/dev-python/sniffio/sniffio-1.2.0.ebuild deleted file mode 100644 index 89f3dc32.. --- a/dev-python/sniffio/sniffio-1.2.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 - -DESCRIPTION="Sniff out which async library your code is running under" -HOMEPAGE=" - https://github.com/python-trio/sniffio/ - https://pypi.org/project/sniffio/"; -SRC_URI=" - https://github.com/python-trio/sniffio/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # curio is not packaged - sniffio/_tests/test_sniffio.py::test_curio - ) - - pytest -vv ${deselect[@]/#/--deselect } || - die "Tests failed with ${EPYTHON}" -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: 31bde09bcc9d5286833d49c3302bbae289793f78 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Feb 17 15:29:18 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Feb 17 15:29:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31bde09b DO NOT MERGE THIS TO MASTER: check if we can make the test fail revert this before pushing dev to master Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/sniffio/Manifest | 1 + dev-python/sniffio/metadata.xml | 12 dev-python/sniffio/sniffio-1.2.0.ebuild | 31 +++ 3 files changed, 44 insertions(+) diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest new file mode 100644 index ..d096430d --- /dev/null +++ b/dev-python/sniffio/Manifest @@ -0,0 +1 @@ +DIST sniffio-1.2.0.gh.tar.gz 17335 BLAKE2B 0d67baa18702ac38932680bdc741c87ee0a31342cc752c1463a7f90720ea0ebf6d62ef682a042c58e8fe96456e1461638e0f02c6f60da5f5e0d07464be27a4a3 SHA512 8e1dd2bb6fc22ee5824adfffe688ff0621b8c1ef5daea594dedce13d5e04a498e05816bb32e9bbed206a653a330ff710df57c888ddcff00a6254eafddc538273 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml new file mode 100644 index ..0c53f9f9 --- /dev/null +++ b/dev-python/sniffio/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + pyt...@gentoo.org + + + + python-trio/sniffio + sniffio + + diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild b/dev-python/sniffio/sniffio-1.2.0.ebuild new file mode 100644 index ..89f3dc32 --- /dev/null +++ b/dev-python/sniffio/sniffio-1.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Sniff out which async library your code is running under" +HOMEPAGE=" + https://github.com/python-trio/sniffio/ + https://pypi.org/project/sniffio/"; +SRC_URI=" + https://github.com/python-trio/sniffio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # curio is not packaged + sniffio/_tests/test_sniffio.py::test_curio + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: 2358fe1084bca5a8a5423240645d6502a025f332 Author: Theo Anderson posteo de> AuthorDate: Tue Feb 16 01:36:31 2021 + Commit: Theo Anderson posteo de> CommitDate: Tue Feb 16 01:36:31 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2358fe10 dev-python/sniffio: remove package added to ::gentoo Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> dev-python/sniffio/Manifest | 1 - dev-python/sniffio/metadata.xml | 20 dev-python/sniffio/sniffio-1.2.0.ebuild | 29 - 3 files changed, 50 deletions(-) diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest deleted file mode 100644 index daec3e14.. --- a/dev-python/sniffio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sniffio-1.2.0.tar.gz 17132 BLAKE2B d42442a231c07834803e8552812dc177defbc0d062418fa576e7368a973eaa1ea20e4933e145a26178a707da72fb00529b19d44ea850f0a14c78bb2b5dab0d9a SHA512 96da4e0f0fff99b122aa729da052e97c2dd75f19aab4dd3728f8e337875b0fac1b3d8d96c8c3a67ca96f15dbf07a593b89e323bf04a8ee0501d7414454030719 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml deleted file mode 100644 index 220983f8.. --- a/dev-python/sniffio/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd";> - - - -andrewammerl...@riseup.net -Andrew Ammerlaan - - -sniffio: Sniff out which async library your code is running under - -You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and ... You've written a bunch of clever code to handle all the differences. But... how do you know which piece of clever code to run? - -This is a tiny package whose only purpose is to let you detect which async library your code is running under. - - -python-trio/sniffio -sniffio - - diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild b/dev-python/sniffio/sniffio-1.2.0.ebuild deleted file mode 100644 index ad474c26.. --- a/dev-python/sniffio/sniffio-1.2.0.ebuild +++ /dev/null @@ -1,29 +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,9} ) - -inherit distutils-r1 - -DESCRIPTION="Sniff out which async library your code is running under" -HOMEPAGE=" - https://github.com/python-trio/sniffio - https://pypi.org/project/sniffio -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 MIT )" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -DEPEND="test? ( dev-python/curio[${PYTHON_USEDEP}] )" - -distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio -distutils_enable_tests pytest - -python_test() { - PYTHONPATH="${S}" - pytest -vv || die "Tests fail with ${EPYTHON}" -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: c9b2a7dbfc20b4e58872747d17c4e4da905d462b Author: Alessandro Barbieri gmail com> AuthorDate: Sun Apr 26 22:30:11 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Apr 26 22:39:12 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9b2a7db dev-python/sniffio: longdescription lang="en" Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/sniffio/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml index f73ad45..220983f 100644 --- a/dev-python/sniffio/metadata.xml +++ b/dev-python/sniffio/metadata.xml @@ -6,7 +6,7 @@ andrewammerl...@riseup.net Andrew Ammerlaan - + sniffio: Sniff out which async library your code is running under You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and ... You've written a bunch of clever code to handle all the differences. But... how do you know which piece of clever code to run?
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: 1ff4fa956886e9deba6a8677cfd8ae04eb6f5d91 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 17:40:01 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 27 17:40:01 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ff4fa95 dev-python/sniffio: longdescription, pypi Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/sniffio/metadata.xml | 19 +++ dev-python/sniffio/sniffio-1.1.0.ebuild | 5 - 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml index 628ab20..f73ad45 100644 --- a/dev-python/sniffio/metadata.xml +++ b/dev-python/sniffio/metadata.xml @@ -2,8 +2,19 @@ http://www.gentoo.org/dtd/metadata.dtd";> - -andrewammerl...@riseup.net -Andrew Ammerlaan - + +andrewammerl...@riseup.net +Andrew Ammerlaan + + +sniffio: Sniff out which async library your code is running under + +You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and ... You've written a bunch of clever code to handle all the differences. But... how do you know which piece of clever code to run? + +This is a tiny package whose only purpose is to let you detect which async library your code is running under. + + +python-trio/sniffio +sniffio + diff --git a/dev-python/sniffio/sniffio-1.1.0.ebuild b/dev-python/sniffio/sniffio-1.1.0.ebuild index abdb93e..98efb71 100644 --- a/dev-python/sniffio/sniffio-1.1.0.ebuild +++ b/dev-python/sniffio/sniffio-1.1.0.ebuild @@ -8,7 +8,10 @@ PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Sniff out which async library your code is running under" -HOMEPAGE="https://github.com/python-trio/sniffio"; +HOMEPAGE=" + https://github.com/python-trio/sniffio + https://pypi.org/project/sniffio +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( Apache-2.0 MIT )"
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
commit: 8d187fc4b081528e8dc012246e1f33122755b5a1 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Feb 3 17:46:05 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Feb 3 17:46:05 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d187fc4 dev-python/sniffio: Sniff out which async lib code is running under Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/sniffio/Manifest | 1 + dev-python/sniffio/metadata.xml | 9 + dev-python/sniffio/sniffio-1.1.0.ebuild | 23 +++ 3 files changed, 33 insertions(+) diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest new file mode 100644 index 000..6a1b47b --- /dev/null +++ b/dev-python/sniffio/Manifest @@ -0,0 +1 @@ +DIST sniffio-1.1.0.tar.gz 15285 BLAKE2B fc2887150c8b64cc9ba5eb261d2f04650033279e5b5a6527f28fa8eff6cda409ffddb0986bba1358288fd35e0bbd09d90a7c4a0893a612f1efdbec393c2d9e3c SHA512 f315c79245ccec8e1e6e0f8ffe4cf42fdab7f5fe3e680ddc05c65732a6d26989ac1459135f13938380928b02802bc0a6b1174c83118a60b0ad15f59730927912 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml new file mode 100644 index 000..628ab20 --- /dev/null +++ b/dev-python/sniffio/metadata.xml @@ -0,0 +1,9 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + +andrewammerl...@riseup.net +Andrew Ammerlaan + + diff --git a/dev-python/sniffio/sniffio-1.1.0.ebuild b/dev-python/sniffio/sniffio-1.1.0.ebuild new file mode 100644 index 000..abdb93e --- /dev/null +++ b/dev-python/sniffio/sniffio-1.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Sniff out which async library your code is running under" +HOMEPAGE="https://github.com/python-trio/sniffio"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="python_targets_python3_6? ( dev-python/contextvars[python_targets_python3_6] )" + +DEPEND="test? ( dev-python/curio[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio +distutils_enable_tests pytest