diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-08-17 08:57:43 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-08-17 08:57:43 +0000 |
commit | d8b48ed0ed7b963811eb6950be606930a6cd0fef (patch) | |
tree | d1b704ecea13e52b8e9c1c3688fb87aeecedacb3 /dev-python | |
parent | Revision bump. Slotted dev-java/jnr-constants dependency. Fixes bug #480458, ... (diff) | |
download | gentoo-2-d8b48ed0ed7b963811eb6950be606930a6cd0fef.tar.gz gentoo-2-d8b48ed0ed7b963811eb6950be606930a6cd0fef.tar.bz2 gentoo-2-d8b48ed0ed7b963811eb6950be606930a6cd0fef.zip |
Initial import, ebuild by me
(Portage version: 2.2.0/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/mongoengine/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/mongoengine/Manifest | 3 | ||||
-rw-r--r-- | dev-python/mongoengine/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/mongoengine/mongoengine-0.8.3.ebuild | 34 |
4 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/mongoengine/ChangeLog b/dev-python/mongoengine/ChangeLog new file mode 100644 index 000000000000..da955baa5561 --- /dev/null +++ b/dev-python/mongoengine/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/mongoengine +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mongoengine/ChangeLog,v 1.1 2013/08/17 08:57:43 patrick Exp $ + +*mongoengine-0.8.3 (17 Aug 2013) + + 17 Aug 2013; Patrick Lauer <patrick@gentoo.org> +metadata.xml, + +mongoengine-0.8.3.ebuild: + Initial import, ebuild by me diff --git a/dev-python/mongoengine/Manifest b/dev-python/mongoengine/Manifest new file mode 100644 index 000000000000..7ca55e4728e4 --- /dev/null +++ b/dev-python/mongoengine/Manifest @@ -0,0 +1,3 @@ +DIST mongoengine-0.8.3.tar.gz 219978 SHA256 e8e8acbffda03d70ab09615135b823b7707bd11a4e6c9327c2fd8cbed145c14a SHA512 b77c36ae008fb31f26a60135fbba3a9cf08375506a760daa3fe9e2558a6c67f4ea769eccf7c472c9ddef900fe50548aca00a81d0e666b007398b31cb4d32e368 WHIRLPOOL 241c0b51a2c9a130ed8416266baa1394d06def7c7b074cec7c6a35da6add251cd0aa05f0350bf9334ee9d3921e6a686c23dbdf5a3120a1459a4adfc134c244e1 +EBUILD mongoengine-0.8.3.ebuild 892 SHA256 6cdd68fce1a99fff7305d4546078cf6947355e2515365105ec8d03647ebd0fd3 SHA512 c4316c3ab3126538c4a4c0d8278a69943f1133f74e4caa21a563d3ecc65e4a2a1da9851aec3f5d682734c24936122091c618a47a2bfce5d539c4b5505876f662 WHIRLPOOL 6419864f2b01572d1633ccd358b9d3205920400d69cffa47c7caef2939024ec35d925c879361e8cfaa5805e7740854bb63a868fa09cf256fa5da509ef4b80ca7 +MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13 diff --git a/dev-python/mongoengine/metadata.xml b/dev-python/mongoengine/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/mongoengine/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/mongoengine/mongoengine-0.8.3.ebuild b/dev-python/mongoengine/mongoengine-0.8.3.ebuild new file mode 100644 index 000000000000..95b66f08d0c6 --- /dev/null +++ b/dev-python/mongoengine/mongoengine-0.8.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mongoengine/mongoengine-0.8.3.ebuild,v 1.1 2013/08/17 08:57:43 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +RESTRICT="test" # connects to local DB and other nonsense + +DESCRIPTION="A Python Object-Document-Mapper for working with MongoDB" +HOMEPAGE="https://github.com/MongoEngine/mongoengine/" +SRC_URI="https://github.com/MongoEngine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pymongo[${PYTHON_USEDEP}] + " + +src_prepare() { + sed -i -e 's/tests/tests*/g' setup.py || die "Failed to fix test removal thingy" +} + + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +} |