From 3107374512477d429a0a6c8e2d78fa03a9e29608 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 21 Mar 2012 11:40:36 -0400 Subject: [PATCH] Add dev-python/pgp-mime package. --- dev-python/pgp-mime/ChangeLog | 14 ++++++++ dev-python/pgp-mime/Manifest | 3 ++ dev-python/pgp-mime/metadata.xml | 9 +++++ dev-python/pgp-mime/pgp-mime-9999.ebuild | 45 ++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 dev-python/pgp-mime/ChangeLog create mode 100644 dev-python/pgp-mime/Manifest create mode 100644 dev-python/pgp-mime/metadata.xml create mode 100644 dev-python/pgp-mime/pgp-mime-9999.ebuild diff --git a/dev-python/pgp-mime/ChangeLog b/dev-python/pgp-mime/ChangeLog new file mode 100644 index 0000000..1e62b06 --- /dev/null +++ b/dev-python/pgp-mime/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-python/pgp-mime +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*pgp-mime-9999 (21 Mar 2012) + 21 Mar 2012; W. Trevor King pgp-mime-9999.ebuild: + - Created ebuild suite for pgp-mime. + - 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/dev-python/pgp-mime/Manifest b/dev-python/pgp-mime/Manifest new file mode 100644 index 0000000..f068302 --- /dev/null +++ b/dev-python/pgp-mime/Manifest @@ -0,0 +1,3 @@ +EBUILD pgp-mime-9999.ebuild 871 RMD160 d203505ea7809e88e3b3f838bf1c91845dad8723 SHA1 45de36acbc0622aa367973c70ea8ea6951af4d50 SHA256 8d4ba8aaa84d66b50d8faef89756a46e9c730fe48f1a192ebb1152bfd8a73596 +MISC ChangeLog 675 RMD160 deb2f8c7fec7db91746bfc5ea3d372e60812013c SHA1 b0629a662d6215450c163374ac725a52f34c012e SHA256 7e166064deabe29bd27dc452fed3d4c8b662681f3c3ec72fdfb7402da8f02b41 +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/dev-python/pgp-mime/metadata.xml b/dev-python/pgp-mime/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/dev-python/pgp-mime/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/dev-python/pgp-mime/pgp-mime-9999.ebuild b/dev-python/pgp-mime/pgp-mime-9999.ebuild new file mode 100644 index 0000000..bad2285 --- /dev/null +++ b/dev-python/pgp-mime/pgp-mime-9999.ebuild @@ -0,0 +1,45 @@ +# 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="app-crypt/gnupg" +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 +} -- 2.26.2