Skip to content

Commit

Permalink
devel/py-weasel: Add py-weasel 0.3.4
Browse files Browse the repository at this point in the history
Weasel lets you manage and share end-to-end workflows for different use cases
and domains, and orchestrate training, packaging and serving your custom
pipelines. You can start off by cloning a pre-defined project template, adjust
it to fit your needs, load in your data, train a pipeline, export it as a Python
package, upload your outputs to a remote storage and share your results with
your team. Weasel can be used via the weasel command and we provide templates in
our projects repo.
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent b0a0cac commit c6b110e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5849,6 +5849,7 @@
SUBDIR += py-watchgod
SUBDIR += py-watermark
SUBDIR += py-wcwidth
SUBDIR += py-weasel
SUBDIR += py-weblib
SUBDIR += py-websockets
SUBDIR += py-websockify
Expand Down
31 changes: 31 additions & 0 deletions devel/py-weasel/Makefile
@@ -0,0 +1,31 @@
PORTNAME= weasel
PORTVERSION= 0.3.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Small and easy workflow system
WWW= https://github.com/explosion/weasel

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpathlib>=0.7.0:devel/py-cloudpathlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}confection>=0.0.4<0.2.0:devel/py-confection@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=1.7.4<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.13.0<3.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}smart-open>=5.2.1<7.0.0:net/py-smart-open@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}srsly>=2.4.3<3.0.0:devel/py-srsly@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typer>=0.3.0<0.10.0:devel/py-typer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wasabi>=0.9.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-weasel/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1708448830
SHA256 (weasel-0.3.4.tar.gz) = eb16f92dc9f1a3ffa89c165e3a9acd28018ebb656e0da4da02c0d7d8ae3f6178
SIZE (weasel-0.3.4.tar.gz) = 38252
11 changes: 11 additions & 0 deletions devel/py-weasel/files/patch-setup.cfg
@@ -0,0 +1,11 @@
--- setup.cfg.orig 2023-11-06 16:07:56 UTC
+++ setup.cfg
@@ -37,7 +37,7 @@ install_requires =
wasabi>=0.9.1,<1.2.0
srsly>=2.4.3,<3.0.0
typer>=0.3.0,<0.10.0
- cloudpathlib>=0.7.0,<0.17.0
+ cloudpathlib>=0.7.0
smart-open>=5.2.1,<7.0.0
requests>=2.13.0,<3.0.0
pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0
7 changes: 7 additions & 0 deletions devel/py-weasel/pkg-descr
@@ -0,0 +1,7 @@
Weasel lets you manage and share end-to-end workflows for different use cases
and domains, and orchestrate training, packaging and serving your custom
pipelines. You can start off by cloning a pre-defined project template, adjust
it to fit your needs, load in your data, train a pipeline, export it as a Python
package, upload your outputs to a remote storage and share your results with
your team. Weasel can be used via the weasel command and we provide templates in
our projects repo.

0 comments on commit c6b110e

Please sign in to comment.