diff options
-rw-r--r-- | dev-python/myghty/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/myghty/Manifest | 16 | ||||
-rw-r--r-- | dev-python/myghty/files/digest-myghty-1.1 | 3 | ||||
-rw-r--r-- | dev-python/myghty/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/myghty/myghty-1.1.ebuild | 55 |
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-python/myghty/ChangeLog b/dev-python/myghty/ChangeLog new file mode 100644 index 000000000000..2e6fc2e67a82 --- /dev/null +++ b/dev-python/myghty/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/myghty +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/ChangeLog,v 1.1 2007/02/27 23:49:39 dev-zero Exp $ + + 05 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> myghty-1.1.ebuild: + Removed dev-python/nose from deps + + 05 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> +myghty-1.1.ebuild, + +metadata.xml: + Initial ebuild + diff --git a/dev-python/myghty/Manifest b/dev-python/myghty/Manifest new file mode 100644 index 000000000000..afcdc4c439e6 --- /dev/null +++ b/dev-python/myghty/Manifest @@ -0,0 +1,16 @@ +DIST Myghty-1.1.tar.gz 320366 RMD160 1c44067b942e6c4de3236be54b36887192de6e38 SHA1 2e6714780d2250d936731a74b331d924bb1799bc SHA256 41bcf9f53c5752faff10cdce21770f41311fd38a6075d4a46f6b67cd1ae31689 +EBUILD myghty-1.1.ebuild 1115 RMD160 f2b4e698edc3266aa8c8790b7dba93986463e215 SHA1 e074c8bf0b79fa4113f42af402c76791e76bdd82 SHA256 df75340f0901a85c7106b6abaddebc5656f9cf53523eb0acff49b41e0eb43ed4 +MD5 fba0c82b6693e6fa379715e23d4f11fc myghty-1.1.ebuild 1115 +RMD160 f2b4e698edc3266aa8c8790b7dba93986463e215 myghty-1.1.ebuild 1115 +SHA256 df75340f0901a85c7106b6abaddebc5656f9cf53523eb0acff49b41e0eb43ed4 myghty-1.1.ebuild 1115 +MISC ChangeLog 335 RMD160 d76d5a1935a671372b84988c533d2420f5c2bc9e SHA1 1bb6f211a3a68ed62d148852b02a8d29353c15db SHA256 42d5be59ec86ce7a7331d24abf3aaf7de6f8b42b7a6b3919886ab95f58c75399 +MD5 c1425f334ec57156354537db104aaa0c ChangeLog 335 +RMD160 d76d5a1935a671372b84988c533d2420f5c2bc9e ChangeLog 335 +SHA256 42d5be59ec86ce7a7331d24abf3aaf7de6f8b42b7a6b3919886ab95f58c75399 ChangeLog 335 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 +MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 +RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 +SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159 +MD5 064dcb87897a76a6ba8aec98f2fef535 files/digest-myghty-1.1 232 +RMD160 98006f5e3908e2bb2cca57fb9664690905890201 files/digest-myghty-1.1 232 +SHA256 0b970ee85efce66b397e540b73d998aa848db23bc9199e5de9bde2209778d38b files/digest-myghty-1.1 232 diff --git a/dev-python/myghty/files/digest-myghty-1.1 b/dev-python/myghty/files/digest-myghty-1.1 new file mode 100644 index 000000000000..38a87db7e29b --- /dev/null +++ b/dev-python/myghty/files/digest-myghty-1.1 @@ -0,0 +1,3 @@ +MD5 5865361811dca4054f1ec60ac32ee965 Myghty-1.1.tar.gz 320366 +RMD160 1c44067b942e6c4de3236be54b36887192de6e38 Myghty-1.1.tar.gz 320366 +SHA256 41bcf9f53c5752faff10cdce21770f41311fd38a6075d4a46f6b67cd1ae31689 Myghty-1.1.tar.gz 320366 diff --git a/dev-python/myghty/metadata.xml b/dev-python/myghty/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/myghty/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/dev-python/myghty/myghty-1.1.ebuild b/dev-python/myghty/myghty-1.1.ebuild new file mode 100644 index 000000000000..f6d819f37ff2 --- /dev/null +++ b/dev-python/myghty/myghty-1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/myghty-1.1.ebuild,v 1.1 2007/02/27 23:49:39 dev-zero Exp $ + +NEED_PYTHON=2.4 + +inherit distutils + +KEYWORDS="~amd64 ~x86" + +MY_PN=Myghty +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Template and view-controller framework derived from HTML::Mason." +HOMEPAGE="http://www.myghty.org" +SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="MIT" +SLOT="0" +IUSE="doc test" + +RDEPEND=">=dev-python/routes-1.0 + dev-python/paste + dev-python/pastedeploy + dev-python/pastescript" +DEPEND="${RDEPEND} + dev-python/setuptools" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/use_setuptools/d' \ + -e '/install_requires=\[.*\],/d' \ + setup.py || die "sed failed" +} + +src_compile() { + distutils_src_compile + if use doc ; then + einfo "Generation docs as requested..." + cd doc + PYTHONPATH=./lib/ python genhtml.py || die "generating docs failed" + fi +} + +src_install() { + distutils_src_install + use doc && dohtml doc/html/* +} + +src_test() { + PYTHONPATH=./lib/ "${python}" test/alltests.py || die "tests failed" +} |