From 36e6b308737eb60bfce0ea8bd78ebc2a16204ffb Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Sat, 18 Aug 2018 17:39:02 +0100 Subject: [PATCH] dev-python/slixmpp: add new package Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- dev-python/slixmpp/Manifest | 1 + dev-python/slixmpp/metadata.xml | 11 ++++++++ dev-python/slixmpp/slixmpp-1.4.0.ebuild | 36 +++++++++++++++++++++++++ dev-python/slixmpp/slixmpp-9999.ebuild | 36 +++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 dev-python/slixmpp/Manifest create mode 100644 dev-python/slixmpp/metadata.xml create mode 100644 dev-python/slixmpp/slixmpp-1.4.0.ebuild create mode 100644 dev-python/slixmpp/slixmpp-9999.ebuild diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest new file mode 100644 index 000000000000..bf08c4b528bc --- /dev/null +++ b/dev-python/slixmpp/Manifest @@ -0,0 +1 @@ +DIST slixmpp-1.4.0.tar.gz 862826 BLAKE2B 940c6c66f7f98574c88da6fbfaadf7103c4469cd198e096fbad57978f5e206c53b86933a930a24a8b891415b961c4a255d4c9c25885a8bd630f5d6185486fb6e SHA512 586fa5156641d786f9e45df8e6a1a20b8cb2dc2b9baef2a0713daa9ab8a3321202fd4b31d5753cf2659cc9311a4842bee9991a7fc295e62dfd78a869d8619d20 diff --git a/dev-python/slixmpp/metadata.xml b/dev-python/slixmpp/metadata.xml new file mode 100644 index 000000000000..97309be0a01b --- /dev/null +++ b/dev-python/slixmpp/metadata.xml @@ -0,0 +1,11 @@ + + + + + andrey_utkin@gentoo.org + Andrey Utkin + + + slixmpp + + diff --git a/dev-python/slixmpp/slixmpp-1.4.0.ebuild b/dev-python/slixmpp/slixmpp-1.4.0.ebuild new file mode 100644 index 000000000000..be8cfcfecb51 --- /dev/null +++ b/dev-python/slixmpp/slixmpp-1.4.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6} ) + +inherit eutils distutils-r1 + +DESCRIPTION="Python 3 library for XMPP" +HOMEPAGE="https://dev.louiz.org/projects/slixmpp" +LICENSE="MIT" +SLOT="0" +IUSE="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/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 new file mode 100644 index 000000000000..be8cfcfecb51 --- /dev/null +++ b/dev-python/slixmpp/slixmpp-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6} ) + +inherit eutils distutils-r1 + +DESCRIPTION="Python 3 library for XMPP" +HOMEPAGE="https://dev.louiz.org/projects/slixmpp" +LICENSE="MIT" +SLOT="0" +IUSE="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/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 +} -- 2.26.2