Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311129

Summary: Version bump: sci-geosciences/mapnik-0.7.1
Product: Gentoo Linux Reporter: Roeland Douma <roeland>
Component: New packagesAssignee: Steve Arnold <nerdboy>
Status: RESOLVED FIXED    
Severity: enhancement CC: petr, toby.murray
Priority: High Keywords: EBUILD
Version: unspecifiedFlags: roeland: Bugday+
Hardware: All   
OS: Linux   
URL: http://mapnik.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mapnik-0.7.1.ebuild
mapnik-0.7.1-libagg.patch
mapnik-0.7.1.ebuild
mapnik-0.7.1.ebuild
ebuild allowing boost>=1.41
mapnik-0.7.1-r1.ebuild
mapnik-0.7.1.ebuild

Description Roeland Douma 2010-03-24 14:54:25 UTC
Version 0.7.1 of mapnik had been released.
Comment 1 Roeland Douma 2010-03-24 14:54:55 UTC
Created attachment 225113 [details]
mapnik-0.7.1.ebuild

The ebuild
Comment 2 Roeland Douma 2010-03-24 14:55:32 UTC
Created attachment 225115 [details, diff]
mapnik-0.7.1-libagg.patch

New libagg patch.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-04-13 13:50:41 UTC
Created attachment 227595 [details]
mapnik-0.7.1.ebuild

Updated ebuild to work more nicely with python.
Ordered deps.
God i hate scons...
Comment 4 Petr Morávek 2010-04-19 14:08:48 UTC
Works for me on amd64. Thanks.
Comment 5 Toby Murray 2010-07-01 04:53:39 UTC
Created attachment 237103 [details]
mapnik-0.7.1.ebuild

Changing dependencies for postgresql-base since the virtual package is masked/deprecated.
Comment 6 Toby Murray 2010-07-01 04:58:02 UTC
Bugzilla won't let me obsolete the old attachment. I just changed 
>=virtual/postgresql-base-8.0
to
>=dev-db/postgresql-base-8.0
Comment 7 Fabio Correa 2010-09-01 14:21:29 UTC
Created attachment 245633 [details]
ebuild allowing boost>=1.41

Hello, please consider this change to the ebuild, in which we lift the restriction on Boost. It emerged just fine. Why was it in place, anyway?

--- mapnik-0.7.1.ebuild.tobyMurray 2010-09-01 09:14:52.568595925 -0500
+++ mapnik-0.7.1.ebuild 2010-09-01 09:14:03.867427460 -0500
@@ -16,8 +16,7 @@
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="cairo curl debug doc +gdal postgres python sqlite"
 
-RDEPEND="<dev-libs/boost-1.41.0
-       >=dev-libs/boost-1.34.0
+RDEPEND=">=dev-libs/boost-1.34.0
        dev-libs/icu
        dev-libs/libxml2
        media-fonts/dejavu
@@ -72,7 +71,7 @@
 
        use postgres && use sqlite && MAKEOPTS="${MAKEOPTS} PGSQL2SQLITE=yes"
 
-       BOOST_PKG="$(best_version "<dev-libs/boost-1.41.0")"
+       BOOST_PKG="$(best_version "dev-libs/boost")"
        BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
        export BOOST_VERSION="$(replace_all_version_separators _ "${BOOST_VER}")"
        elog "${P} BOOST_VERSION is ${BOOST_VERSION}"
Comment 8 Joel Berendzen 2010-09-01 20:53:43 UTC
Created attachment 245665 [details]
mapnik-0.7.1-r1.ebuild

builds with boost >1.41
Comment 9 Fabio Correa 2010-10-02 20:59:32 UTC
Created attachment 249365 [details]
mapnik-0.7.1.ebuild

This proposal adds to Joel's ebuild the implementation of the doc flag. Thanks for considering.


--- mapnik-0.7.1-r1.ebuild.joel      2010-10-02 10:10:10.079456279 -0500
+++ mapnik-0.7.1.ebuild.proposal     2010-10-02 10:38:52.624109792 -0500
@@ -40,7 +40,9 @@
        sqlite? ( dev-db/sqlite:3 )
 "
 DEPEND="${RDEPEND}
-       >=dev-util/scons-1.0.0"
+       >=dev-util/scons-1.0.0
+       doc? ( dev-python/epydoc )
+"
 
 src_prepare() {
        sed -i \
@@ -97,6 +99,12 @@
 src_compile() {
        scons BOOST_INCLUDES=${BOOST_INC} BOOST_LIBS=${BOOST_LIB} \
                BOOST_VERSION=${BOOST_VERSION} || die "scons make failed"
+       if use doc; then
+               export PYTHONPATH="${S}/bindings/python:$(python_get_sitedir)"
+               cd docs/epydoc_config
+               ./build_epydoc.sh || die "API doc generation failed"
+               cd -
+       fi
 }
 
 src_install() {
@@ -111,7 +119,7 @@
        fi
 
        dodoc AUTHORS CHANGELOG README || die
-       use doc && { dohtml -r docs/api_docs/python/* || die ; }
+       use doc && { dohtml -r docs/api_docs/python/* || die "API doc install failed"; }
 }
 
 pkg_postinst() {
Comment 10 Raphaël Droz 2011-12-17 16:46:57 UTC
mapnik 2 is not so far away, this #bug may be closed
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-26 09:39:09 UTC
Fixed as 2.0 is in main tree.