FreeBSD Bugzilla – Attachment 250642 Details for
Bug 278971
[NEW PORT] textproc/py-fasttext-predict: Python package for fasttext
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-fasttext-0.9.2.2.patch
0001-textproc-py-fasttext-predict-New-port-Python-package.patch (text/plain), 2.90 KB, created by
Jesús Daniel Colmenares Oviedo
on 2024-05-14 08:59:29 UTC
(
hide
)
Description:
py-fasttext-0.9.2.2.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2024-05-14 08:59:29 UTC
Size:
2.90 KB
patch
obsolete
>From eb301fbb4ebff0c0a70d1e92418ece4a02d52251 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Tue, 14 May 2024 04:11:49 -0400 >Subject: [PATCH] textproc/py-fasttext-predict: New port: Python package for > fasttext > >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. > >WWW: https://pypi.org/project/fasttext-predict https://github.com/searxng/fasttext-predict >--- > textproc/py-fasttext-predict/Makefile | 25 +++++++++++++++++++++++++ > textproc/py-fasttext-predict/distinfo | 3 +++ > textproc/py-fasttext-predict/pkg-descr | 6 ++++++ > 3 files changed, 34 insertions(+) > create mode 100644 textproc/py-fasttext-predict/Makefile > create mode 100644 textproc/py-fasttext-predict/distinfo > create mode 100644 textproc/py-fasttext-predict/pkg-descr > >diff --git a/textproc/py-fasttext-predict/Makefile b/textproc/py-fasttext-predict/Makefile >new file mode 100644 >index 000000000000..9115c89ec69a >--- /dev/null >+++ b/textproc/py-fasttext-predict/Makefile >@@ -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> >diff --git a/textproc/py-fasttext-predict/distinfo b/textproc/py-fasttext-predict/distinfo >new file mode 100644 >index 000000000000..e541431a427e >--- /dev/null >+++ b/textproc/py-fasttext-predict/distinfo >@@ -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 >diff --git a/textproc/py-fasttext-predict/pkg-descr b/textproc/py-fasttext-predict/pkg-descr >new file mode 100644 >index 000000000000..167e2db81fb6 >--- /dev/null >+++ b/textproc/py-fasttext-predict/pkg-descr >@@ -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. >-- >2.44.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
DtxdF
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 278971
: 250642