mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
textproc/py-fasttext-predict: Add new port
fasttext-predict is a python package for fasttext PR: 278971
This commit is contained in:
parent
b242f73331
commit
cd7ce65e5d
@ -1376,6 +1376,7 @@
|
||||
SUBDIR += py-evtx2splunk
|
||||
SUBDIR += py-extract-msg
|
||||
SUBDIR += py-fastavro
|
||||
SUBDIR += py-fasttext-predict
|
||||
SUBDIR += py-faust-cchardet
|
||||
SUBDIR += py-feedparser
|
||||
SUBDIR += py-fingerprints
|
||||
|
25
textproc/py-fasttext-predict/Makefile
Normal file
25
textproc/py-fasttext-predict/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
PORTNAME= fasttext-predict
|
||||
DISTVERSION= 0.9.2.2
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= DtxdF@disroot.org
|
||||
COMMENT= Python package for fasttext
|
||||
WWW= https://pypi.org/project/${PORTNAME} \
|
||||
https://github.com/searxng/${PORTNAME}
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fasttext_pybind.cpython-${PYTHON_VER:S/.//}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-fasttext-predict/distinfo
Normal file
3
textproc/py-fasttext-predict/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1715560244
|
||||
SHA256 (fasttext-predict-0.9.2.2.tar.gz) = acc6dfd3da421ef55823d83f6aaef8f8f72cb94d8b7b3a660f3e1bff0f6f4727
|
||||
SIZE (fasttext-predict-0.9.2.2.tar.gz) = 16326
|
6
textproc/py-fasttext-predict/pkg-descr
Normal file
6
textproc/py-fasttext-predict/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
fasttext-predict is a python package for fasttext:
|
||||
|
||||
* keep only the predict method, all other features are removed
|
||||
* standalone package without external dependency (numpy is not a
|
||||
dependency) wheels for various architectures using GitHub workflows.
|
||||
* The script is inspired by lxml build scripts.
|
Loading…
Reference in New Issue
Block a user