mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Create python3 version of textproc/py-snowballstemmer
- Use options helpers PR: 217467 Submitted by: Danilo Baio <dbaio@bsd.com.br>
This commit is contained in:
parent
8940670003
commit
ddabfeff33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435683
@ -1373,6 +1373,7 @@
|
||||
SUBDIR += py3-libxml2
|
||||
SUBDIR += py3-pager
|
||||
SUBDIR += py3-pystemmer
|
||||
SUBDIR += py3-snowballstemmer
|
||||
SUBDIR += py3-sphinx_rtd_theme
|
||||
SUBDIR += pychm
|
||||
SUBDIR += qprint
|
||||
|
@ -12,17 +12,13 @@ COMMENT= Snowball stemming library collection for Python
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= python
|
||||
USES?= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
OPTIONS_DEFINE= PYSTEMMER
|
||||
OPTIONS_DEFAULT=PYSTEMMER
|
||||
PYSTEMMER_DESC= Use PyStemmer to accelerate
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPYSTEMMER}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer
|
||||
.endif
|
||||
PYSTEMMER_RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
textproc/py3-snowballstemmer/Makefile
Normal file
10
textproc/py3-snowballstemmer/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# Created by: Danilo G. Baio <dbaio@bsd.com.br>
|
||||
# $FreeBSD$
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../py-snowballstemmer
|
||||
|
||||
USES= python:3.3+
|
||||
|
||||
PYSTEMMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py3-pystemmer
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
Loading…
Reference in New Issue
Block a user