From: W. Trevor King Date: Fri, 23 Mar 2012 19:38:33 +0000 (-0400) Subject: Add dev-python/pygrader package. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ccf1ba635ed690a52da34310e91a6a3731fc70d;p=wtk-overlay.git Add dev-python/pygrader package. --- 6ccf1ba635ed690a52da34310e91a6a3731fc70d diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..fbca16a --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-python/pygrader +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*pygrader-9999 (23 Mar 2012) + 23 Mar 2012; W. Trevor King pygrader-9999.ebuild: + - Created ebuild suite for pygrader. + - Added initial ChangeLog which should be updated whenever the + package is updated in any way. This changelog is targetted to + users. This means that the comments should well explained and + written in clean English. The details about writing correct + changelogs are explained in the skel.ChangeLog file which you can + find in the root directory of the portage repository. diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..a25aeb3 --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD pygrader-9999.ebuild 913 RMD160 299dd415a224c873110c467d1e63083756cbace4 SHA1 0f231fa9f3da536cce56b7ca5dbf28309c308c71 SHA256 ebeb92f83343541f7c4450bf1ba9ce8a1607827c905b021097fdd25d185e0e1c +MISC ChangeLog 675 RMD160 8e477fd98cb891d32dce1dc18232fe4acea250cf SHA1 f11e08ddcba0fa92b2d0b5b58ee949ec9cab7feb SHA256 15d0c7d97802313e4bd893a0af9d31db1c575e06c718018a944f9db302c8d849 +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/pygrader-9999.ebuild b/pygrader-9999.ebuild new file mode 100644 index 0000000..85da3eb --- /dev/null +++ b/pygrader-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +PYTHON_DEPEND="3:3.2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.* 3.[01]" + +inherit eutils distutils + +if [[ ${PV} == "9999" ]] ; then + inherit git-2 + EGIT_BRANCH="master" + EGIT_REPO_URI="git://tremily.us/${PN}.git" + SRC_URI="" +else + SRC_URI="http://git.tremily.us/?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz" +fi + +DESCRIPTION="Python tools for dealing with Pretty Good Privacy (PGP) and email." +HOMEPAGE="http://blog.tremily.us/posts/${PN}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/pgp-mime" +DEPEND="${RDEPEND} + test? ( dev-python/nose )" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + unpack ${A} + fi + cd "${S}" +} + +src_install() { + distutils_src_install + dodoc README + if use doc; then + dodoc -r test + fi +}