From 7763f75ac80ac32862258dfc987e63c09d31d461 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 1 Apr 2012 12:37:28 -0400 Subject: [PATCH 1/1] Add dev-python/chemdb package. --- ChangeLog | 14 ++++++++++++++ Manifest | 3 +++ chemdb-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ metadata.xml | 9 +++++++++ 4 files changed, 65 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 chemdb-9999.ebuild create mode 100644 metadata.xml diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..3a6de12 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-python/chemdb +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*chemdb-9999 (01 Apr 2012) + 01 Apr 2012; W. Trevor King ChangeLog, metadata.xml, + chemdb-9999.ebuild : + - Created ebuild suite for chemdb. + - 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..3ada1cc --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD chemdb-9999.ebuild 763 RMD160 80206546c40bc9078c1f271b1e8385d2ae520d78 SHA1 2876f362c0ee0baf8874945a551477bb1f169cb6 SHA256 1e973b5ee52c0d68e4ddca0daff4c90fc1b62ee8ffbba7c1ec90321d2f981cc6 +MISC ChangeLog 660 RMD160 8561cf611f8b4ce2f4937ed958f06d5a92ba0ae2 SHA1 4d386f15673720cd048dda5dd68e92fe88080e79 SHA256 8c09399f5149796b60ab424062a6f3c63c601d117a4b38d8ff58c4cf31b1f815 +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/chemdb-9999.ebuild b/chemdb-9999.ebuild new file mode 100644 index 0000000..7a2fe3b --- /dev/null +++ b/chemdb-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils distutils + +if [[ "${PV}" == "9999" ]] ; then + inherit git-2 + EGIT_REPO_URI="git://tremily.us/${PN}.git" + SRC_URI="" +else + SRC_URI="http://git.tremily.us/?p=${PN}.git;a=snapshot;h=${PV};sf=tgz" +fi + +DESCRIPTION="Chemical database with inventory and door-warning generation." +HOMEPAGE="http://blog.tremily.us/posts/ChemDB/" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="test" + +DEPEND=" + dev-python/django + dev-python/django-grappelli" +RDEPEND="${DEPEND}" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + unpack ${A} + fi + cd "${S}" +} 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 + + -- 2.26.2