summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-06-21 12:36:51 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-06-21 12:36:51 +0000
commit3425b80d051d21e402346e370e3b709af95411a5 (patch)
treef03de7bbdd750ebaa8463231c73de833004986a4 /dev-python/flask-pymongo
parentVersion Bump. (diff)
downloadhistorical-3425b80d051d21e402346e370e3b709af95411a5.tar.gz
historical-3425b80d051d21e402346e370e3b709af95411a5.tar.bz2
historical-3425b80d051d21e402346e370e3b709af95411a5.zip
version bump, support doc and examples
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-python/flask-pymongo')
-rw-r--r--dev-python/flask-pymongo/ChangeLog8
-rw-r--r--dev-python/flask-pymongo/Manifest12
-rw-r--r--dev-python/flask-pymongo/flask-pymongo-0.1.2.ebuild (renamed from dev-python/flask-pymongo/flask-pymongo-0.1.1.ebuild)31
3 files changed, 38 insertions, 13 deletions
diff --git a/dev-python/flask-pymongo/ChangeLog b/dev-python/flask-pymongo/ChangeLog
index 62d6bae1b8ce..f2df94fb9845 100644
--- a/dev-python/flask-pymongo/ChangeLog
+++ b/dev-python/flask-pymongo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/flask-pymongo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/ChangeLog,v 1.1 2012/06/18 08:45:36 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/ChangeLog,v 1.2 2012/06/21 12:36:51 ultrabug Exp $
+
+*flask-pymongo-0.1.2 (21 Jun 2012)
+
+ 21 Jun 2012; Ultrabug <ultrabug@gentoo.org> -flask-pymongo-0.1.1.ebuild,
+ +flask-pymongo-0.1.2.ebuild:
+ Version bump, support doc and examples
*flask-pymongo-0.1.1 (18 Jun 2012)
diff --git a/dev-python/flask-pymongo/Manifest b/dev-python/flask-pymongo/Manifest
index 40cca6b6ee64..a98693a50c8d 100644
--- a/dev-python/flask-pymongo/Manifest
+++ b/dev-python/flask-pymongo/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST Flask-PyMongo-0.1.1.tar.gz 7075 RMD160 9c35769fdfa6e3d29e6ae3d5b5b0d20adbb1221e SHA1 4ba6a58f6d592f3219b327646158879fb8c2c5cc SHA256 18b3b669d8ab4054a8d301ca145d7e735b7be70cb5a90efd0190fbbefcb218aa
-EBUILD flask-pymongo-0.1.1.ebuild 904 RMD160 e3655851f63b54faed3f9bd603db2b4a975815a9 SHA1 ab8f57a01ff9f14a335561409121fe928088bf05 SHA256 56ebf631f151ee6b52336a69a215cdf9d5f04741097e03cf8d18c3808e79587f
-MISC ChangeLog 369 RMD160 637b190633cdc8cc245f8c55c6e1b9219bb0c2f3 SHA1 d324e90cbc4bb807e3028773200888fff5951cfc SHA256 e8a35b7aeb2d6b081995e0d1350728434d00be93d0fe558b35c6224e16de9207
+DIST Flask-PyMongo-0.1.2.tar.gz 19622 RMD160 c79bb560fadceba5af21349fcd64fa30ca413e7f SHA1 911e4708bd433d2f7ec1d2a19a0543609d65ba29 SHA256 6457c0f4669cb0fb48d0eb716f90ef95215ac22cb1c4848ed7b3f8d136246e0e
+EBUILD flask-pymongo-0.1.2.ebuild 1258 RMD160 efb5b6d8ca15465c1899c8db201e2d3faae5860e SHA1 2cd89ecb914f39691ae815dfe44260c4bc5a7ace SHA256 b73406bbdd852da2e9e0c6f0fc68de7a6c8e9ddea9aba314e4b19715003cd982
+MISC ChangeLog 553 RMD160 e7211d7caffd025450a6cf26d8dffee3767ae54d SHA1 4887fc008aa2e21333175c283817ce802463cce0 SHA256 aba3984fc239a41a71bb0e78fbf8043be5d08ff9bfed12d98601848f8da38ac6
MISC metadata.xml 330 RMD160 da84a150449175662282fbce445f86284c3f5d5e SHA1 b4f8e63b2decb00a4fe23ee97508391a479c706f SHA256 e68f5c0580514a636e3df09046ebee8e9acc984bf781b489a859d3b59d74685b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAk/e6roACgkQKiQSS7ZY+hNyhwD/bHzY0fcu4YuhxVdsFfc2jTvw
-bbSqOYD4is/QsiBJGGABAOqdjacYncNlvhU/ZB7VzwNehAiJJttzw97CPbAuTEd/
-=vajt
+iF4EAREIAAYFAk/jFW4ACgkQKiQSS7ZY+hMXTAEA5cUsefYefak3h9fPjQw1POVf
+hYyuPLP05OtupwBJPNsBAM1QKrJEIZbdJqiCcAxC0CaP5hEOVWgq14IOcVGPp+fe
+=Ilpg
-----END PGP SIGNATURE-----
diff --git a/dev-python/flask-pymongo/flask-pymongo-0.1.1.ebuild b/dev-python/flask-pymongo/flask-pymongo-0.1.2.ebuild
index db1b2deca001..6c551d34bf01 100644
--- a/dev-python/flask-pymongo/flask-pymongo-0.1.1.ebuild
+++ b/dev-python/flask-pymongo/flask-pymongo-0.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/flask-pymongo-0.1.1.ebuild,v 1.1 2012/06/18 08:45:36 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-pymongo/flask-pymongo-0.1.2.ebuild,v 1.1 2012/06/21 12:36:51 ultrabug Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
@@ -20,17 +20,36 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="doc examples"
RDEPEND=">=dev-python/flask-0.8
>=dev-python/pymongo-2.1"
DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
dev-python/setuptools
dev-python/nose"
S="${WORKDIR}/${MY_P}"
-# Maintainer's notes:
-# - no docs / examples in the pypi pkg vs github
-# - no nspkg.pth file
-# PYTHON_MODNAME="flaskext/pymongo.py"
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ cd docs
+ PYTHONPATH=".." emake html || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/_build/html/* || die "Installation of documentation failed"
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "Installation of examples failed"
+ fi
+} \ No newline at end of file