summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-07-16 16:29:13 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-07-16 16:29:13 +0000
commit46f9587de42f8a159a4f9f98f30d049afbcbceda (patch)
tree2001b614bb240805e63d988e7c7a7dcae98f8208 /sci-visualization/veusz
parentStable for HPPA (bug #449604). (diff)
downloadgentoo-2-46f9587de42f8a159a4f9f98f30d049afbcbceda.tar.gz
gentoo-2-46f9587de42f8a159a4f9f98f30d049afbcbceda.tar.bz2
gentoo-2-46f9587de42f8a159a4f9f98f30d049afbcbceda.zip
Version bump. Added test
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-visualization/veusz')
-rw-r--r--sci-visualization/veusz/ChangeLog8
-rw-r--r--sci-visualization/veusz/veusz-1.17.1.ebuild58
-rw-r--r--sci-visualization/veusz/veusz-1.18.ebuild56
3 files changed, 63 insertions, 59 deletions
diff --git a/sci-visualization/veusz/ChangeLog b/sci-visualization/veusz/ChangeLog
index cf2ef2414aa0..f979ec68a8da 100644
--- a/sci-visualization/veusz/ChangeLog
+++ b/sci-visualization/veusz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-visualization/veusz
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.43 2013/04/24 23:01:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.44 2013/07/16 16:29:13 bicatali Exp $
+
+*veusz-1.18 (16 Jul 2013)
+
+ 16 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org> +veusz-1.18.ebuild,
+ -veusz-1.17.1.ebuild:
+ Version bump. Added test
*veusz-1.17.1-r1 (24 Apr 2013)
diff --git a/sci-visualization/veusz/veusz-1.17.1.ebuild b/sci-visualization/veusz/veusz-1.17.1.ebuild
deleted file mode 100644
index 347dada2d17e..000000000000
--- a/sci-visualization/veusz/veusz-1.17.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.17.1.ebuild,v 1.1 2013/04/13 05:38:31 grozin Exp $
-
-EAPI=4
-
-# python cruft
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-inherit distutils eutils fdo-mime
-
-DESCRIPTION="Qt based scientific plotting package with good Postscript output"
-HOMEPAGE="http://home.gna.org/veusz/ http://pypi.python.org/pypi/veusz"
-SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
-
-IUSE="doc examples fits"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-LICENSE="GPL-2"
-
-DEPEND="dev-python/numpy"
-RDEPEND="${DEPEND}
- dev-python/PyQt4[X,svg]
- fits? ( dev-python/pyfits )"
-
-src_install() {
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
- use doc && dodoc Documents/manual.pdf && \
- dohtml -r Documents/{manimages,manual.html}
-
- newicon windows/icons/veusz_48.png veusz.png
- domenu "${FILESDIR}"/veusz.desktop
- insinto /usr/share/mime/packages
- doins "${FILESDIR}"/veusz.xml
- # symlinking the license, bug #341653
- symlink_license() {
- dosym /usr/portage/licenses/GPL-2 "$(python_get_sitedir)/${PN}"/COPYING
- }
- python_execute_function -q symlink_license
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- distutils_pkg_postrm
- fdo-mime_desktop_database_update
-}
diff --git a/sci-visualization/veusz/veusz-1.18.ebuild b/sci-visualization/veusz/veusz-1.18.ebuild
new file mode 100644
index 000000000000..5b63bc678715
--- /dev/null
+++ b/sci-visualization/veusz/veusz-1.18.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.18.ebuild,v 1.1 2013/07/16 16:29:13 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit eutils fdo-mime distutils-r1 virtualx
+
+DESCRIPTION="Qt scientific plotting package with good Postscript output"
+HOMEPAGE="http://home.gna.org/veusz/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+IUSE="doc fits"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/PyQt4[X,svg,${PYTHON_USEDEP}]
+ fits? ( virtual/pyfits[${PYTHON_USEDEP}] )"
+
+python_test() {
+ distutils_install_for_testing
+ cd tests || die
+ VIRTUALX_COMMAND="${EPYTHON}" \
+ VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
+ virtualmake runselftest.py
+}
+
+python_install() {
+ distutils-r1_python_install
+ # symlink the license, bug #341653
+ ln -s "${PORTDIR}"/licenses/${LICENSE} \
+ "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+}
+
+python_install_all() {
+ use doc && dodoc Documents/manual.pdf && \
+ dohtml -r Documents/{manimages,manual.html}
+
+ newicon windows/icons/veusz_48.png veusz.png
+ domenu "${FILESDIR}"/veusz.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/veusz.xml
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}