svn commit: r399222 - in head/graphics: . py-gphoto2

Max Brazhnikov makc at FreeBSD.org
Tue Oct 13 21:19:01 UTC 2015


Author: makc
Date: Tue Oct 13 21:18:59 2015
New Revision: 399222
URL: https://svnweb.freebsd.org/changeset/ports/399222

Log:
  Add new port graphics/py-gphoto2:
  
  Python bindings for libgphoto2.
  
  WWW: http://pypi.python.org/pypi/gphoto2/

Added:
  head/graphics/py-gphoto2/
  head/graphics/py-gphoto2/Makefile   (contents, props changed)
  head/graphics/py-gphoto2/distinfo   (contents, props changed)
  head/graphics/py-gphoto2/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Tue Oct 13 20:59:51 2015	(r399221)
+++ head/graphics/Makefile	Tue Oct 13 21:18:59 2015	(r399222)
@@ -834,6 +834,7 @@
     SUBDIR += py-gimp
     SUBDIR += py-glewpy
     SUBDIR += py-goocanvas
+    SUBDIR += py-gphoto2
     SUBDIR += py-graph
     SUBDIR += py-graph-core
     SUBDIR += py-graph-dot

Added: head/graphics/py-gphoto2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-gphoto2/Makefile	Tue Oct 13 21:18:59 2015	(r399222)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	gphoto2
+PORTVERSION=	1.2.0
+CATEGORIES=	graphics python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR=	python-gphoto2
+
+MAINTAINER=	makc at FreeBSD.org
+COMMENT=	Python bindings for libgphoto2
+
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
+
+USES=		pkgconfig python
+USE_PYTHON=	autoplist concurrent distutils
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-patch:
+	${REINPLACE_CMD} \
+		-e 's|share/python-gphoto2/examples|${EXAMPLESDIR:S,${PREFIX}/,,}|' \
+		-e 's|share/python-gphoto2|${DOCSDIR:S,${PREFIX}/,,}|' \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>

Added: head/graphics/py-gphoto2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-gphoto2/distinfo	Tue Oct 13 21:18:59 2015	(r399222)
@@ -0,0 +1,2 @@
+SHA256 (python-gphoto2/gphoto2-1.2.0.tar.gz) = 444277aacbd48d6262057da76a71c6da8824b752ac49c00640a5f4e6bba066a0
+SIZE (python-gphoto2/gphoto2-1.2.0.tar.gz) = 925837

Added: head/graphics/py-gphoto2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-gphoto2/pkg-descr	Tue Oct 13 21:18:59 2015	(r399222)
@@ -0,0 +1,3 @@
+python-gphoto2 provides Python interface to libgphoto2.
+
+WWW: http://pypi.python.org/pypi/gphoto2/


More information about the svn-ports-all mailing list