2020-08-18 07:51:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2020/08/18 05:51:23 tnn Exp $
|
2009-05-20 04:16:14 +02:00
|
|
|
|
2020-08-17 09:00:32 +02:00
|
|
|
VERSION= 1.0.2
|
2009-05-20 04:16:14 +02:00
|
|
|
DISTNAME= pyusb-${VERSION}
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-usb-${VERSION}
|
|
|
|
CATEGORIES= devel
|
2017-12-24 11:13:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=pyusb/}
|
2016-10-04 15:05:19 +02:00
|
|
|
GITHUB_PROJECT= pyusb
|
2020-08-17 09:00:32 +02:00
|
|
|
GITHUB_TAG= v${VERSION}
|
2009-05-20 04:16:14 +02:00
|
|
|
|
|
|
|
MAINTAINER= wiml@hhhh.org
|
2017-12-24 11:13:22 +01:00
|
|
|
HOMEPAGE= https://pyusb.github.io/pyusb/
|
2009-05-20 04:16:14 +02:00
|
|
|
COMMENT= Python interface to USB via libusb
|
2016-10-04 15:05:19 +02:00
|
|
|
LICENSE= modified-bsd
|
2009-05-20 04:16:14 +02:00
|
|
|
|
2020-08-18 07:51:23 +02:00
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
|
|
|
|
|
2013-12-10 12:55:41 +01:00
|
|
|
CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
|
|
|
|
|
2018-02-10 14:53:46 +01:00
|
|
|
.include "../../mk/libusb.buildlink3.mk"
|
2011-10-16 08:38:39 +02:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2009-05-20 04:16:14 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|