Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 03:15:47 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504275 - in head/devel: . py-preshed py-preshed/files
Message-ID:  <201906160315.x5G3FlbX052070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jun 16 03:15:47 2019
New Revision: 504275
URL: https://svnweb.freebsd.org/changeset/ports/504275

Log:
  New port: devel/py-preshed: Cython hash table

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jun 16 03:04:20 2019	(r504274)
+++ head/devel/Makefile	Sun Jun 16 03:15:47 2019	(r504275)
@@ -4722,6 +4722,7 @@
     SUBDIR += py-pp
     SUBDIR += py-pqueue
     SUBDIR += py-pre-commit
+    SUBDIR += py-preshed
     SUBDIR += py-pretend
     SUBDIR += py-prettyprinter
     SUBDIR += py-prettytable

Added: head/devel/py-preshed/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-preshed/Makefile	Sun Jun 16 03:15:47 2019	(r504275)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	preshed
+PORTVERSION=	2.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Cython hash table
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cymem>0:devel/py-cymem@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/preshed/*.so
+
+.include <bsd.port.mk>

Added: head/devel/py-preshed/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-preshed/distinfo	Sun Jun 16 03:15:47 2019	(r504275)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1560654504
+SHA256 (preshed-2.0.1.tar.gz) = dae01c74313965c487e0ec839e5f28d0c7df9bfd1d978aa5bada3f72ff20a9e5
+SIZE (preshed-2.0.1.tar.gz) = 113656

Added: head/devel/py-preshed/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-preshed/files/patch-setup.py	Sun Jun 16 03:15:47 2019	(r504275)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2019-06-16 03:11:49 UTC
++++ setup.py
+@@ -124,7 +124,7 @@ def setup_package():
+             url=about['__uri__'],
+             license=about['__license__'],
+             ext_modules=ext_modules,
+-            setup_requires=['wheel>=0.32.0,<0.33.0'],
++            setup_requires=[],
+             install_requires=['cymem>=2.0.2,<2.1.0'],
+             classifiers=[
+                 'Environment :: Console',

Added: head/devel/py-preshed/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-preshed/pkg-descr	Sun Jun 16 03:15:47 2019	(r504275)
@@ -0,0 +1,3 @@
+Cython hash tables that assume keys are pre-hashed.
+
+WWW: https://github.com/explosion/preshed



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