summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2013-07-21 12:02:18 +0000
committerrichard <richard@pkgsrc.org>2013-07-21 12:02:18 +0000
commit0265a1f6b1ca82c6d1e589329dde8c4a26ca0652 (patch)
tree5a1823d55c3307119d8b36cbfb4dad358244d577 /graphics
parent62ab2718ece829a109ff9122e6ca889a83d45746 (diff)
downloadpkgsrc-0265a1f6b1ca82c6d1e589329dde8c4a26ca0652.tar.gz
Pycha is a very simple Python package for drawing charts using the great
`Cairo` library. Its goals are: * Lightweight * Simple to use * Nice looking with default values * Customization It won't try to draw any possible chart on earth but draw the most common ones nicely. There are some other options to look at like `pyCairoChart`.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile3
-rw-r--r--graphics/py-pycha/DESCR10
-rw-r--r--graphics/py-pycha/Makefile23
-rw-r--r--graphics/py-pycha/PLIST47
-rw-r--r--graphics/py-pycha/distinfo5
5 files changed, 87 insertions, 1 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index fd2f6e4347a..404f15ccba3 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.658 2013/07/15 02:26:39 obache Exp $
+# $NetBSD: Makefile,v 1.659 2013/07/21 12:02:18 richard Exp $
#
COMMENT= Graphics tools and libraries
@@ -389,6 +389,7 @@ SUBDIR+= py-matplotlib-gtk2
SUBDIR+= py-matplotlib-tk
SUBDIR+= py-nwdiag
SUBDIR+= py-piddle
+SUBDIR+= py-pycha
SUBDIR+= py-pyfits
SUBDIR+= py-seqdiag
SUBDIR+= py-sk1libs
diff --git a/graphics/py-pycha/DESCR b/graphics/py-pycha/DESCR
new file mode 100644
index 00000000000..6f2c1129c07
--- /dev/null
+++ b/graphics/py-pycha/DESCR
@@ -0,0 +1,10 @@
+Pycha is a very simple Python package for drawing charts using the great
+`Cairo` library. Its goals are:
+
+* Lightweight
+* Simple to use
+* Nice looking with default values
+* Customization
+
+It won't try to draw any possible chart on earth but draw the most common ones
+nicely. There are some other options to look at like `pyCairoChart`.
diff --git a/graphics/py-pycha/Makefile b/graphics/py-pycha/Makefile
new file mode 100644
index 00000000000..2c44cc01ed5
--- /dev/null
+++ b/graphics/py-pycha/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/07/21 12:02:18 richard Exp $
+DISTNAME= pycha-0.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+MASTER_SITES= https://pypi.python.org/packages/source/p/pycha/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://bitbucket.org/lgs/pycha/
+COMMENT= Library for making charts with Python
+LICENSE= gnu-lgpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
+DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
+
+USE_LANGUAGES= #none
+
+PYTHON_SELF_CONFLICT= yes
+
+post-install:
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/*
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-pycha/PLIST b/graphics/py-pycha/PLIST
new file mode 100644
index 00000000000..d3013d5e207
--- /dev/null
+++ b/graphics/py-pycha/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/21 12:02:18 richard Exp $
+bin/chavier
+${PYSITELIB}/chavier/__init__.py
+${PYSITELIB}/chavier/__init__.pyc
+${PYSITELIB}/chavier/__init__.pyo
+${PYSITELIB}/chavier/app.py
+${PYSITELIB}/chavier/app.pyc
+${PYSITELIB}/chavier/app.pyo
+${PYSITELIB}/chavier/dialogs.py
+${PYSITELIB}/chavier/dialogs.pyc
+${PYSITELIB}/chavier/dialogs.pyo
+${PYSITELIB}/chavier/gui.py
+${PYSITELIB}/chavier/gui.pyc
+${PYSITELIB}/chavier/gui.pyo
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/pycha/__init__.py
+${PYSITELIB}/pycha/__init__.pyc
+${PYSITELIB}/pycha/__init__.pyo
+${PYSITELIB}/pycha/bar.py
+${PYSITELIB}/pycha/bar.pyc
+${PYSITELIB}/pycha/bar.pyo
+${PYSITELIB}/pycha/chart.py
+${PYSITELIB}/pycha/chart.pyc
+${PYSITELIB}/pycha/chart.pyo
+${PYSITELIB}/pycha/color.py
+${PYSITELIB}/pycha/color.pyc
+${PYSITELIB}/pycha/color.pyo
+${PYSITELIB}/pycha/line.py
+${PYSITELIB}/pycha/line.pyc
+${PYSITELIB}/pycha/line.pyo
+${PYSITELIB}/pycha/pie.py
+${PYSITELIB}/pycha/pie.pyc
+${PYSITELIB}/pycha/pie.pyo
+${PYSITELIB}/pycha/scatter.py
+${PYSITELIB}/pycha/scatter.pyc
+${PYSITELIB}/pycha/scatter.pyo
+${PYSITELIB}/pycha/stackedbar.py
+${PYSITELIB}/pycha/stackedbar.pyc
+${PYSITELIB}/pycha/stackedbar.pyo
+${PYSITELIB}/pycha/utils.py
+${PYSITELIB}/pycha/utils.pyc
+${PYSITELIB}/pycha/utils.pyo
diff --git a/graphics/py-pycha/distinfo b/graphics/py-pycha/distinfo
new file mode 100644
index 00000000000..2c59c9630a2
--- /dev/null
+++ b/graphics/py-pycha/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/21 12:02:18 richard Exp $
+
+SHA1 (pycha-0.6.0.tar.gz) = b1030f05b472686cec500da4d6ffcd09f825e319
+RMD160 (pycha-0.6.0.tar.gz) = a731748d00f1c50c8959609d96ff58be81845c11
+Size (pycha-0.6.0.tar.gz) = 39267 bytes