summaryrefslogtreecommitdiff
path: root/devel/py-setuptools/Makefile
blob: 3cd00ac478de4fb7a48d44f29d84d95f37dc440a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PORTNAME=	setuptools
PORTVERSION=	63.1.0
PORTREVISION=	3
CATEGORIES=	devel python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR=	python

PATCH_SITES=	https://github.com/pypa/${PORTNAME}/commit/
PATCHFILES=	6653e747c3815b140156249205397ef3719581ee.patch:-p1

# note: before committing a new major version, contact portmgr to
# arrange for an experimental ports run. Untested commits may be
# backed out.
MAINTAINER=	python@FreeBSD.org
COMMENT=	Python packages installer
WWW=		https://github.com/pypa/setuptools \
		https://pypi.org/project/setuptools/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel044<0.46.0:devel/py-wheel044@${PY_FLAVOR}

USES=		cpe python
USE_PYTHON=	allflavors autoplist concurrent pep517 # pytest to return later

CPE_VENDOR=	python

NO_ARCH=	yes

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 31000
EXTRA_PATCHES+=	${PATCHDIR}/py39
.endif

.include <bsd.port.post.mk>