commit: fcd2bfd2e5f26cadc1eb22b55e27ce2bbb1d3471 parent: 5651f8c561a97984d8fa11e6f17228a59e563f37 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Tue, 21 Apr 2020 22:32:06 +0200 dev-python/slixmpp: Import from ::gentooDiffstat:
A | dev-python/slixmpp/Manifest | 1 | + |
A | dev-python/slixmpp/metadata.xml | 11 | +++++++++++ |
A | dev-python/slixmpp/slixmpp-1.4.2.ebuild | 38 | ++++++++++++++++++++++++++++++++++++++ |
A | dev-python/slixmpp/slixmpp-9999.ebuild | 38 | ++++++++++++++++++++++++++++++++++++++ |
4 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest @@ -0,0 +1 @@ +DIST slixmpp-1.4.2.tar.gz 864608 BLAKE2B 9689b274a9c787174248c094329ea33783627a45ef39708a611013454953de4fa8799ca5a35950a3f3ed49bebf5c56f6f2bea079bcc2a3dce7d2648bfd812371 SHA512 3b3356352af8d7ec8cca15210c0524ce0bb5e313d8c5455bec13e82aec261f6d094a99df9f08642418a0e4abea4ee1ff607e42e1c166b9be1c26534b690c330b diff --git a/dev-python/slixmpp/metadata.xml b/dev-python/slixmpp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrey_utkin@gentoo.org</email> + <name>Andrey Utkin</name> + </maintainer> + <upstream> + <remote-id type="pypi">slixmpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/slixmpp/slixmpp-1.4.2.ebuild b/dev-python/slixmpp/slixmpp-1.4.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Python 3 library for XMPP" +HOMEPAGE="https://dev.louiz.org/projects/slixmpp" +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RDEPEND=" + dev-python/aiodns[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + net-dns/libidn + test? ( $RDEPEND ) +" + +python_test() { + esetup.py test +} diff --git a/dev-python/slixmpp/slixmpp-9999.ebuild b/dev-python/slixmpp/slixmpp-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Python 3 library for XMPP" +HOMEPAGE="https://dev.louiz.org/projects/slixmpp" +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RDEPEND=" + dev-python/aiodns[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + net-dns/libidn + test? ( $RDEPEND ) +" + +python_test() { + esetup.py test +}