diff options
author | Alfred Wingate <parona@protonmail.com> | 2021-09-09 00:49:16 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-10-05 16:37:37 +0300 |
commit | 24247b1ec663281f090b6bc5d4f8d8a411d14332 (patch) | |
tree | 242def691e6ce89d2a8c0d0ce33daae1baf4916f /dev-python/unasync | |
parent | app-text/namazu: new upstream release (diff) | |
download | gentoo-24247b1ec663281f090b6bc5d4f8d8a411d14332.tar.gz gentoo-24247b1ec663281f090b6bc5d4f8d8a411d14332.tar.bz2 gentoo-24247b1ec663281f090b6bc5d4f8d8a411d14332.zip |
dev-python/unasync: add unasync for elasticsearch-py
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/unasync')
-rw-r--r-- | dev-python/unasync/Manifest | 1 | ||||
-rw-r--r-- | dev-python/unasync/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/unasync/unasync-0.5.0.ebuild | 24 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/unasync/Manifest b/dev-python/unasync/Manifest new file mode 100644 index 000000000000..250ac1eea4d4 --- /dev/null +++ b/dev-python/unasync/Manifest @@ -0,0 +1 @@ +DIST unasync-0.5.0.tar.gz 19060 BLAKE2B aa7a955aed98ab33cc1a12aa88a02ab38ef90f9494f04c3e032b66e56e033404e9b59a89834a1e07b224fb865af5d139c27ff91ae5fec8ad01b1e407d9c5c181 SHA512 5b68e9a70f487b2b0fcaf9a5c4240b366428154fda99d53120315382dc29d2cffbbed72e277cee1764f7b91158db3d8b394d4f4969cec1fd7e49f27f01c39440 diff --git a/dev-python/unasync/metadata.xml b/dev-python/unasync/metadata.xml new file mode 100644 index 000000000000..6c4a91c7c7a2 --- /dev/null +++ b/dev-python/unasync/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/unasync/unasync-0.5.0.ebuild b/dev-python/unasync/unasync-0.5.0.ebuild new file mode 100644 index 000000000000..2d1854f67f00 --- /dev/null +++ b/dev-python/unasync/unasync-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="The async transformation code." +HOMEPAGE="https://github.com/python-trio/unasync" +SRC_URI="https://github.com/python-trio/unasync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + # Stop test from breaking itself + sed -i 's/\(env\["PYTHONPATH"\] = os.path.realpath(os.path.join(TEST_DIR, ".."))\)/#\1/' "${S}/tests/test_unasync.py" || die + default_src_prepare +} + +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_tests --install pytest |