diff options
Diffstat (limited to 'dev-python/stomper')
-rw-r--r-- | dev-python/stomper/Manifest | 3 | ||||
-rw-r--r-- | dev-python/stomper/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/stomper/stomper-0.3.0.ebuild | 35 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/stomper/Manifest b/dev-python/stomper/Manifest new file mode 100644 index 000000000000..11a422aef016 --- /dev/null +++ b/dev-python/stomper/Manifest @@ -0,0 +1,3 @@ +DIST stomper-0.3.0.tar.gz 21051 BLAKE2B 79505d042933fe1127f151f209139c48d268d73ee443a21acabe5768b4ab627b60100dabd7116b62501fcdd5795acbc6bc400bbbdae370f46d8bde94dc0db3bc SHA512 ba6feef44bb33a9b63f789043b131a314b903fda847dbb3ad909614a2a6b2b39f2d98dcd5bf19b070f4de9cec9dbce9cd79eb135911f16c1e8dc6d5f52158516 +EBUILD stomper-0.3.0.ebuild 757 BLAKE2B 01d18c52ea78e3b6090eb91b1971a7e2709779eaf020569f1fd6476390374280588153d5fbd6fa5ad898b4d7bc4645f8f92e62a398a03a788d4c66fe88f4bf1a SHA512 74d27ce4b91ed181b29f4e391f550c076cf97fa001c9b883e21f2385193a23d0df4b1b97ad386615d7e2b6dd9629d6384ae2b09dff13b41e57ad6c19086424da +MISC metadata.xml 310 BLAKE2B e1ecd94362bdf45d9e96eaf5405e8197f4fd8910493ab317dc74ac6ea3b33c88d397292dc6dc8cb96e5ca4cebf2aba58e8de179002a3e19a00042360958951df SHA512 9362afa04362bb46d638abdbba185063f8620836c458f18901bdb5fb6333b6a46ff873f9593cafe9e9149c35372fafe432121ecabc249400f11979bc6e66e5d2 diff --git a/dev-python/stomper/metadata.xml b/dev-python/stomper/metadata.xml new file mode 100644 index 000000000000..171eb326de15 --- /dev/null +++ b/dev-python/stomper/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="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">stomper</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/stomper/stomper-0.3.0.ebuild b/dev-python/stomper/stomper-0.3.0.ebuild new file mode 100644 index 000000000000..726d8d2a319c --- /dev/null +++ b/dev-python/stomper/stomper-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +# Supports only py2 pypy +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Transport neutral client implementation of the STOMP protocol" +HOMEPAGE="https://pypi.org/project/stomper/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="examples" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +python_prepare_all() { + mv lib/${PN}/examples . || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + + distutils-r1_python_install_all +} |