Add dev-python/pyassuan package.
authorW. Trevor King <wking@drexel.edu>
Sat, 24 Mar 2012 10:45:09 +0000 (06:45 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 24 Mar 2012 10:45:09 +0000 (06:45 -0400)
dev-python/pyassuan/ChangeLog [new file with mode: 0644]
dev-python/pyassuan/Manifest [new file with mode: 0644]
dev-python/pyassuan/metadata.xml [new file with mode: 0644]
dev-python/pyassuan/pyassuan-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyassuan/ChangeLog b/dev-python/pyassuan/ChangeLog
new file mode 100644 (file)
index 0000000..904fbe9
--- /dev/null
@@ -0,0 +1,14 @@
+# ChangeLog for dev-python/pyassuan
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+*pyassuan-9999 (22 Mar 2012)
+  22 Mar 2012; W. Trevor King <wking@drexel.edu> pyassuan-9999.ebuild:
+  - Created ebuild suite for pyassuan.
+  - 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/pyassuan/Manifest b/dev-python/pyassuan/Manifest
new file mode 100644 (file)
index 0000000..247b047
--- /dev/null
@@ -0,0 +1,3 @@
+EBUILD pyassuan-9999.ebuild 855 RMD160 075317680a0f8cbc860a56293c73ec9c909dd7ef SHA1 c7da1d6b501b3087715c5737975d59ad3cb18002 SHA256 ad7e65e8c5ab536b839ceed6610e6e7e62bca32ca7548b99f746782521c6d4ab
+MISC ChangeLog 675 RMD160 a973fdf84dc42bda94227506f22cd322c1bbd7cd SHA1 2e06f4076a3c353ac155bbce712248a85e9f4352 SHA256 b4106b6bfbe0c90c188ddbc1a38c558a3fe855a10ba0665ed9f89302f7ef2f93
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
diff --git a/dev-python/pyassuan/metadata.xml b/dev-python/pyassuan/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pyassuan/pyassuan-9999.ebuild b/dev-python/pyassuan/pyassuan-9999.ebuild
new file mode 100644 (file)
index 0000000..3a63a83
--- /dev/null
@@ -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 module and tools for communicating in the Assuan protocol."
+HOMEPAGE="http://blog.tremily.us/posts/${PN}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=""
+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
+}