32 lines
808 B
Makefile
32 lines
808 B
Makefile
# $NetBSD: Makefile,v 1.9 2021/06/29 08:41:59 nia Exp $
|
|
|
|
DISTNAME= pyfasthash-0.6.2
|
|
PKGNAME= ${DISTNAME:S/pyfast/${PYPKGPREFIX}-/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=flier/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/flier/pyfasthash/
|
|
COMMENT= Python Non-cryptographic Hash Library
|
|
LICENSE= apache-2.0
|
|
|
|
GITHUB_PROJECT= pyfasthash
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
EGG_NAME= ${DISTNAME:S/fast//}
|
|
|
|
MAKE_ENV+= PYVER=${_PYTHON_VERSION}
|
|
|
|
.include "../../mk/endian.mk"
|
|
.if ${MACHINE_ENDIAN} == "little"
|
|
CPPFLAGS+= -DHASH_LITTLE_ENDIAN=1 -DHASH_BIG_ENDIAN=0
|
|
.else
|
|
CPPFLAGS+= -DHASH_LITTLE_ENDIAN=0 -DHASH_BIG_ENDIAN=1
|
|
.endif
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 36 # py-numpy
|
|
|
|
.include "../../devel/py-boost/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|