Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 18:49:17 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431012 - in head/devel: . py-entrypoints py-entrypoints/files
Message-ID:  <201701091849.v09InHSv028278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jan  9 18:49:17 2017
New Revision: 431012
URL: https://svnweb.freebsd.org/changeset/ports/431012

Log:
  New port: devel/py-entrypoints
  Discover and load entry points from installed packages.
  WWW: https://github.com/takluyver/entrypoints

Added:
  head/devel/py-entrypoints/
  head/devel/py-entrypoints/Makefile   (contents, props changed)
  head/devel/py-entrypoints/distinfo   (contents, props changed)
  head/devel/py-entrypoints/files/
  head/devel/py-entrypoints/files/setup.py   (contents, props changed)
  head/devel/py-entrypoints/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jan  9 18:46:00 2017	(r431011)
+++ head/devel/Makefile	Mon Jan  9 18:49:17 2017	(r431012)
@@ -4201,6 +4201,7 @@
     SUBDIR += py-efilter
     SUBDIR += py-efl
     SUBDIR += py-eggtestinfo
+    SUBDIR += py-entrypoints
     SUBDIR += py-enum34
     SUBDIR += py-envisage
     SUBDIR += py-epdb

Added: head/devel/py-entrypoints/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-entrypoints/Makefile	Mon Jan  9 18:49:17 2017	(r431012)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	entrypoints
+PORTVERSION=	0.2.2
+CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	Discover and load entry points from installed packages
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	takluyver
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}configparser>=3.5:devel/py-configparser
+.endif
+
+post-extract:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER})
+
+.include <bsd.port.post.mk>

Added: head/devel/py-entrypoints/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-entrypoints/distinfo	Mon Jan  9 18:49:17 2017	(r431012)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483865193
+SHA256 (takluyver-entrypoints-0.2.2_GH0.tar.gz) = e54b5df8bb971507278c65df96e6486cf4aea0cdac384d0102ea0339e0a4f82b
+SIZE (takluyver-entrypoints-0.2.2_GH0.tar.gz) = 11162

Added: head/devel/py-entrypoints/files/setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-entrypoints/files/setup.py	Mon Jan  9 18:49:17 2017	(r431012)
@@ -0,0 +1,13 @@
+
+from setuptools import setup, find_packages
+
+setup(
+    name='entrypoints',
+    version='0.2.2',
+    description='Discover and load entry points from installed packages',
+    url='https://github.com/takluyver/entrypoints',
+    author='Thomas Kluyver',
+    license='MIT',
+    long_description='Discover and load entry points from installed packages',
+    py_modules=['entrypoints']
+)

Added: head/devel/py-entrypoints/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-entrypoints/pkg-descr	Mon Jan  9 18:49:17 2017	(r431012)
@@ -0,0 +1,3 @@
+Discover and load entry points from installed packages.
+
+WWW: https://github.com/takluyver/entrypoints



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