Summary: | Version bump: sci-geosciences/mapnik-0.7.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roeland Douma <roeland> |
Component: | New packages | Assignee: | Steve Arnold <nerdboy> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | petr, toby.murray |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | Flags: | 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
Created attachment 225113 [details]
mapnik-0.7.1.ebuild
The ebuild
Created attachment 225115 [details, diff]
mapnik-0.7.1-libagg.patch
New libagg patch.
Created attachment 227595 [details]
mapnik-0.7.1.ebuild
Updated ebuild to work more nicely with python.
Ordered deps.
God i hate scons...
Works for me on amd64. Thanks. Created attachment 237103 [details]
mapnik-0.7.1.ebuild
Changing dependencies for postgresql-base since the virtual package is masked/deprecated.
Bugzilla won't let me obsolete the old attachment. I just changed >=virtual/postgresql-base-8.0 to >=dev-db/postgresql-base-8.0 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}"
Created attachment 245665 [details]
mapnik-0.7.1-r1.ebuild
builds with boost >1.41
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() {
mapnik 2 is not so far away, this #bug may be closed Fixed as 2.0 is in main tree. |