Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 02:51:49 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457017 - in head/net: . py-libstorj
Message-ID:  <201712230251.vBN2pnlP088067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Dec 23 02:51:49 2017
New Revision: 457017
URL: https://svnweb.freebsd.org/changeset/ports/457017

Log:
  Add py-libstorj 1.0.2, python bindings for libstorj.
  
  PR:		224524
  Submitted by:	jhixson@gmail.com

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

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sat Dec 23 02:16:57 2017	(r457016)
+++ head/net/Makefile	Sat Dec 23 02:51:49 2017	(r457017)
@@ -1008,6 +1008,7 @@
     SUBDIR += py-libcloud
     SUBDIR += py-libdnet
     SUBDIR += py-libnet
+    SUBDIR += py-libstorj
     SUBDIR += py-magic-wormhole
     SUBDIR += py-matrix-synapse-ldap3
     SUBDIR += py-maxminddb

Added: head/net/py-libstorj/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libstorj/Makefile	Sat Dec 23 02:51:49 2017	(r457017)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	libstoraj
+PORTVERSION=	1.0.2
+DISTVERSIONPREFIX=	v
+CATEGORIES=	net
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jhixson@gmail.com
+COMMENT=	Python bindings for libstorj
+
+LICENSE=	LGPL21+
+
+BUILD_DEPENDS=	swig3.0:devel/swig30
+LIB_DEPENDS=	libstorj.so:net/libstorj
+
+USES=		localbase python:2.7+
+USE_PYTHON=	autoplist distutils
+USE_GITHUB=	yes
+GH_ACCOUNT=	Storj
+GH_PROJECT=	python-libstorj
+GH_TAGNAME=	b344699
+GH_TUPLE=	Storj:libstorj:v1.0.2:libstorj
+
+pre-build:
+	@cd ${WRKSRC}; ${CP} -a ${WRKSRC_libstorj}/ ${WRKSRC}/ext/libstorj; \
+	${LOCALBASE}/bin/swig3.0 -c++ -python -outdir lib/ext lib/ext/python_libstorj.i
+
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/lib/ext/_python_libstorj.so \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_python_libstorj.so
+
+.include <bsd.port.mk>

Added: head/net/py-libstorj/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libstorj/distinfo	Sat Dec 23 02:51:49 2017	(r457017)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1513919359
+SHA256 (Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz) = d2c9af17b9012e5920aa38146497630c6bfb3c58f32770fecfe5d526a3029a95
+SIZE (Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz) = 8086
+SHA256 (Storj-libstorj-v1.0.2_GH0.tar.gz) = 1d355f2663fd7701c49a5d696e38e1e9bfb48829fca314c47f043d8e3fa8468e
+SIZE (Storj-libstorj-v1.0.2_GH0.tar.gz) = 170883

Added: head/net/py-libstorj/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libstorj/pkg-descr	Sat Dec 23 02:51:49 2017	(r457017)
@@ -0,0 +1,3 @@
+Python bindings for libstorj
+
+WWW: https://github.com/Storj/python-libstorj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712230251.vBN2pnlP088067>