Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2018 20:08:56 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461264 - in head/devel: . py-libversion
Message-ID:  <201802082008.w18K8uQK018879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb  8 20:08:56 2018
New Revision: 461264
URL: https://svnweb.freebsd.org/changeset/ports/461264

Log:
  Python bindings for libversion, which provides fast, powerful
  and correct generic version string comparison algorithm.
  
  WWW: https://pypi.python.org/pypi/libversion

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Feb  8 19:58:22 2018	(r461263)
+++ head/devel/Makefile	Thu Feb  8 20:08:56 2018	(r461264)
@@ -4573,6 +4573,7 @@
     SUBDIR += py-libtmux
     SUBDIR += py-libusb1
     SUBDIR += py-libusb115
+    SUBDIR += py-libversion
     SUBDIR += py-libvirt
     SUBDIR += py-libzfs
     SUBDIR += py-linecache2

Added: head/devel/py-libversion/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libversion/Makefile	Thu Feb  8 20:08:56 2018	(r461264)
@@ -0,0 +1,27 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libversion
+PORTVERSION=	0.2.2
+CATEGORIES=	devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Python bindings for libversion
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libversion.a:devel/libversion
+
+USES=		python:3.6+ pkgconfig
+USE_PYTHON=	autoplist distutils
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libversion/_libversion.so
+
+.include <bsd.port.mk>

Added: head/devel/py-libversion/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libversion/distinfo	Thu Feb  8 20:08:56 2018	(r461264)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1518119418
+SHA256 (libversion-0.2.2.tar.gz) = 5778451506cc39f061ebcce5a6569dbffcdebb10b73da2dd741fc376a4e79aa6
+SIZE (libversion-0.2.2.tar.gz) = 7822

Added: head/devel/py-libversion/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-libversion/pkg-descr	Thu Feb  8 20:08:56 2018	(r461264)
@@ -0,0 +1,4 @@
+Python bindings for libversion, which provides fast, powerful
+and correct generic version string comparison algorithm.
+
+WWW: https://pypi.python.org/pypi/libversion



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