Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4778,6 +4778,7 @@ SUBDIR += py-xerox SUBDIR += py-xmltodict SUBDIR += py-xoltar-toolkit + SUBDIR += py-xxhash SUBDIR += py-yaml SUBDIR += py-yandex-money-sdk SUBDIR += py-yappi @@ -5747,6 +5748,7 @@ SUBDIR += xtl SUBDIR += xwpe SUBDIR += xxgdb + SUBDIR += xxhash SUBDIR += xxl SUBDIR += yaggo SUBDIR += yajl Index: devel/py-xxhash/Makefile =================================================================== --- /dev/null +++ devel/py-xxhash/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= xxhash +PORTVERSION= 0.6.1 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rezny@FreeBSD.org +COMMENT= Python bindings for the xxHash library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>1:devel/py-nose + +USES= python +USE_PYTHON= distutils autoplist + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xxhash.so + +.include Index: devel/py-xxhash/distinfo =================================================================== --- /dev/null +++ devel/py-xxhash/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1486324569 +SHA256 (xxhash-0.6.1.tar.gz) = 829848ba7575802d99ab5d7e39277eeea85f85b199bc5487661faa350d983611 +SIZE (xxhash-0.6.1.tar.gz) = 19257 Index: devel/py-xxhash/pkg-descr =================================================================== --- /dev/null +++ devel/py-xxhash/pkg-descr @@ -0,0 +1,3 @@ +py-xxhash is a Python binding for the xxHash library by Yann Collet. + +WWW: https://pypi.python.org/pypi/xxhash/ Index: devel/xxhash/Makefile =================================================================== --- /dev/null +++ devel/xxhash/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= xxhash +PORTVERSION= 0.6.2 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= rezny@FreeBSD.org +COMMENT= Extremely fast non-cryptographic hash algorithm + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= Cyan4973 +GH_PROJECT= xxHash + +USES= cmake:outsource +USE_LDCONFIG= yes +CMAKE_SOURCE_PATH= ${WRKSRC}/cmake_unofficial + +PLIST_FILES= include/xxhash.h \ + lib/libxxhash.so \ + lib/libxxhash.so.0 \ + lib/libxxhash.so.0.42.0 + +.include Index: devel/xxhash/distinfo =================================================================== --- /dev/null +++ devel/xxhash/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1486321781 +SHA256 (Cyan4973-xxHash-v0.6.2_GH0.tar.gz) = e4da793acbe411e7572124f958fa53b280e5f1821a8bf78d79ace972950b8f82 +SIZE (Cyan4973-xxHash-v0.6.2_GH0.tar.gz) = 26518 Index: devel/xxhash/pkg-descr =================================================================== --- /dev/null +++ devel/xxhash/pkg-descr @@ -0,0 +1,7 @@ +xxHash is an extremely fast non-cryptographic hash algorithm, running at RAM +speed limits. It is proposed in two flavors, 32 and 64 bits. It successfully +completes the SMHasher test suite which evaluates collision, dispersion and +randomness qualities of hash functions. Code is highly portable, and hashes are +identical on all platforms (little / big endian). + +WWW: http://www.xxhash.com/