diff options
Diffstat (limited to 'dev-python/pyamf')
-rw-r--r-- | dev-python/pyamf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyamf/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/pyamf/pyamf-0.7.0.ebuild | 35 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyamf/Manifest b/dev-python/pyamf/Manifest new file mode 100644 index 00000000000..ab69ca07eff --- /dev/null +++ b/dev-python/pyamf/Manifest @@ -0,0 +1 @@ +DIST PyAMF-0.7.0.tar.gz 1647988 SHA256 5e9c68a2acc00ee99d1ca1f578c4fc0cbc16e33339a6d5a0d8d313a4c0f42663 SHA512 dcaf808a11c73f9e9b548c9e81100eb28ee1e3c1e2d44b0fb08f58ab3693a49c69b95040e25e612e3864d268436829c4ab7389e1ed9c0704f37a9d350dd9c82d WHIRLPOOL 535fdedea37a866045a34f89b5f255f13d4d3ebc1a1a1fbdba2c233fdd5fedfb1436e4993d69940cbdd5f26898c3d6264afa9bdac21217f38d3d2e955058c369 diff --git a/dev-python/pyamf/metadata.xml b/dev-python/pyamf/metadata.xml new file mode 100644 index 00000000000..ee77acb0dc1 --- /dev/null +++ b/dev-python/pyamf/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="github">hydralabs/pyamf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyamf/pyamf-0.7.0.ebuild b/dev-python/pyamf/pyamf-0.7.0.ebuild new file mode 100644 index 00000000000..cfccd8feb04 --- /dev/null +++ b/dev-python/pyamf/pyamf-0.7.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +MY_PN=PyAMF +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Action Message Format (AMF) support for Python" +HOMEPAGE="https://github.com/hydralabs/pyamf" +SRC_URI="https://github.com/hydralabs/pyamf/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +python_test() { + esetup.py test +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "PyAMF optionally integrates with several third-party libraries" + elog "and web frameworks. See the README or the Optional Extras section at" + elog "https://github.com/hydralabs/pyamf/blob/master/doc/install.rst" + fi +} |