blob: 6def5d56dca2b3d17c090ad5e6c24efc34f1d202 (
plain)
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
|
PORTNAME= pyasp
DISTVERSION= 1.4.4
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Convenience wrapper for the ASP tools gringo and clasp
LICENSE= GPLv3
DEPRECATED= Uses EOL Python 2.7 via math/gringo
EXPIRATION_DATE=2021-06-23
RUN_DEPENDS= clasp:math/clasp \
gringo:math/gringo
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e " \
s|'bin/'|'${PREFIX}/bin/'| ; \
s|'gringo4'|'gringo'| ; \
s|access_packaged_file(REL_DIR_BIN + bin_name)|REL_DIR_BIN + bin_name|" \
${WRKSRC}/pyasp/constant.py
.include <bsd.port.mk>
|