Bug 282020 - www/py-freenit: Update to 0.3.5
Summary: www/py-freenit: Update to 0.3.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://github.com/freenit-framework/...
Keywords:
Depends on: 282065
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-12 01:12 UTC by Goran Mekić
Modified: 2024-10-14 00:43 UTC (History)
1 user (show)

See Also:


Attachments
freenit.patch (1.28 KB, patch)
2024-10-12 01:15 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff
freenit.patch (2.40 KB, patch)
2024-10-13 18:15 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2024-10-12 01:12:37 UTC
QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 14.1, amd64 tested)
  * maketest: OK (20 passed, 5 warnings)
Comment 1 Goran Mekić 2024-10-12 01:15:59 UTC
Created attachment 254169 [details]
freenit.patch
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-12 20:55:48 UTC
You are the maintainer of the databases/py-ormar too.
My suggestion is to move dependency from cryptography from RUN_DEPENDS to USE_PYTHON:
--- databases/py-ormar/Makefile.orig
+++ databases/py-ormar/Makefile
@@ -11,8 +11,7 @@
 LICENSE_FILE=  ${WRKSRC}/LICENSE.md

 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
-               ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.9.0:databases/py-databases@${PY_FLAVOR} \
+RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.9.0:databases/py-databases@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}pydantic-extra-types>=0:devel/py-pydantic-extra-types@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.0:databases/py-sqlalchemy14@${PY_FLAVOR} \
@@ -31,7 +30,7 @@

 USES=          python
 USE_GITHUB=    YES
-USE_PYTHON=    autoplist concurrent pep517 pytest
+USE_PYTHON=    autoplist concurrent cryptography pep517 pytest
 GH_ACCOUNT=    collerek

 TEST_ENV=      PYTHONPATH=${WRKSRC}

This change allow build www/py-freenit with "DEFAULT_VERSIONS=pycryptography=legacy" in /etc/make.conf.
Comment 3 Goran Mekić 2024-10-13 18:15:07 UTC
Created attachment 254214 [details]
freenit.patch
Comment 4 Goran Mekić 2024-10-13 18:15:47 UTC
I spent some time to find more bugs, hence the new version. Thank you for the suggestion!
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-10-14 00:40:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=306632abd1ddd0cac0229cb6a2436a0e943b60d3

commit 306632abd1ddd0cac0229cb6a2436a0e943b60d3
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2024-10-14 00:37:20 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-14 00:37:20 +0000

    www/py-freenit: Update 0.3.3 → 0.3.5

    Changelogs:
    https://github.com/freenit-framework/backend/releases/tag/0.3.4
    https://github.com/freenit-framework/backend/releases/tag/0.3.5

    Fix start script.
    Pet portclippy.

    PR:     282020

 www/py-freenit/Makefile         |  5 +++--
 www/py-freenit/distinfo         |  6 +++---
 www/py-freenit/files/freenit.in | 12 ++++--------
 3 files changed, 10 insertions(+), 13 deletions(-)
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-14 00:43:52 UTC
Thanks.