diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/myghty | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/myghty')
-rw-r--r-- | dev-python/myghty/Manifest | 3 | ||||
-rw-r--r-- | dev-python/myghty/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/myghty/myghty-1.2-r1.ebuild | 48 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/myghty/Manifest b/dev-python/myghty/Manifest new file mode 100644 index 000000000000..c89fe70e0563 --- /dev/null +++ b/dev-python/myghty/Manifest @@ -0,0 +1,3 @@ +DIST Myghty-1.2.tar.gz 292439 BLAKE2B cfc7bf97be933a40e1360ec119e28d30e8ffedd3e72604dc735c48d461059bc0024e81d44e08ac6f50a4e0a103388512dbbed4a29f63137e51b45635a48f1833 SHA512 a4534149241e794eb8a469b062d2696076cc5bc0fc07f3e093dc2ae0e489a9e79ce6d053f75ddc5b5ab64de9c0e4341d801e7e595dd5a0dcc24a3551fcef7098 +EBUILD myghty-1.2-r1.ebuild 1013 BLAKE2B f6181fa6a0827b870386716c9d16e2b9e304611ed7843b267836daf72bd56065fe2ec85a42b0159027ae6361da8714e9e8d8542c14b69502d212884cd397b387 SHA512 fad708900b201954b282b1fd465b9118899aea34de2c70b276b745fa1249884a3b2957d19024312020f723b2bd3aa6cc97042ed55f4f01004ceef3193a304b62 +MISC metadata.xml 309 BLAKE2B 092b228974bf5b89e6430f4491623f41a482e21f76b0f8551fd7da90804629a563395ecd357218d2a8005954f19d2851fc5e060c4766c86aaf19872d99ac51e2 SHA512 56372c565bd19b3c3d1aa685e74d20658afc18f6f60c08bfa95d808f340426c54bce08ef60755b5ae547356769e8915c2406561db42ea455a2da766a954bd80c diff --git a/dev-python/myghty/metadata.xml b/dev-python/myghty/metadata.xml new file mode 100644 index 000000000000..86506524630e --- /dev/null +++ b/dev-python/myghty/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">Myghty</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/myghty/myghty-1.2-r1.ebuild b/dev-python/myghty/myghty-1.2-r1.ebuild new file mode 100644 index 000000000000..66668284403b --- /dev/null +++ b/dev-python/myghty/myghty-1.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +MY_PN="Myghty" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Template and view-controller framework derived from HTML::Mason" +HOMEPAGE="http://www.myghty.org/ https://pypi.org/project/Myghty/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-python/routes-1.0[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + dev-python/pastescript[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + if use doc; then + cd doc || die + "${PYTHON}" genhtml.py || die + fi +} + +python_test() { + "${PYTHON}" test/alltests.py || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + if use doc; then + dohtml -r doc/html/. + fi +} |