Skip to content

Commit

Permalink
py-flask-frozen: updated to 1.0.1
Browse files Browse the repository at this point in the history
v1.0.1
Don’t install tests as top-level package.
  • Loading branch information
adam committed Jan 20, 2024
1 parent 6d7dbd8 commit 11c7415
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
11 changes: 6 additions & 5 deletions www/py-flask-frozen/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.16 2023/07/21 04:36:41 adam Exp $
# $NetBSD: Makefile,v 1.17 2024/01/20 10:21:27 adam Exp $

DISTNAME= Frozen-Flask-0.18
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
DISTNAME= frozen_flask-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Frozen-Flask/}

Expand All @@ -10,11 +10,12 @@ HOMEPAGE= https://pythonhosted.org/Frozen-Flask/
COMMENT= Freezes a Flask application into a set of static files
LICENSE= modified-bsd

DEPENDS+= ${PYPKGPREFIX}-flask>=1.1.0:../../www/py-flask
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-flask>=2.0.0:../../www/py-flask

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
26 changes: 5 additions & 21 deletions www/py-flask-frozen/PLIST
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2016/01/08 17:45:31 kleink Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.4 2024/01/20 10:21:27 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/flask_frozen/__init__.py
${PYSITELIB}/flask_frozen/__init__.pyc
${PYSITELIB}/flask_frozen/__init__.pyo
${PYSITELIB}/flask_frozen/test_app/__init__.py
${PYSITELIB}/flask_frozen/test_app/__init__.pyc
${PYSITELIB}/flask_frozen/test_app/__init__.pyo
${PYSITELIB}/flask_frozen/test_app/admin/__init__.py
${PYSITELIB}/flask_frozen/test_app/admin/__init__.pyc
${PYSITELIB}/flask_frozen/test_app/admin/__init__.pyo
${PYSITELIB}/flask_frozen/test_app/admin/admin_static/style.css
${PYSITELIB}/flask_frozen/test_app/admin/templates/admin.html
${PYSITELIB}/flask_frozen/test_app/static/favicon.ico
${PYSITELIB}/flask_frozen/test_app/static/main.js
${PYSITELIB}/flask_frozen/test_app/static/style.css
${PYSITELIB}/flask_frozen/tests.py
${PYSITELIB}/flask_frozen/tests.pyc
${PYSITELIB}/flask_frozen/tests.pyo
9 changes: 5 additions & 4 deletions www/py-flask-frozen/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.10 2023/07/21 04:36:41 adam Exp $
$NetBSD: distinfo,v 1.11 2024/01/20 10:21:27 adam Exp $

BLAKE2s (Frozen-Flask-0.18.tar.gz) = b33ca92a036415718055dfe621426f9469a41cdef7bb0ec4b65b445930d1ed31
SHA512 (Frozen-Flask-0.18.tar.gz) = 6c2e4d900547cc5c0de4af23b96c5b9e1925101fb40f710bedc67ac52c303282aa223f6972f5b9cc813878bb15eb90cb0a007619dd5a9db2dec762f04dcc7ba0
Size (Frozen-Flask-0.18.tar.gz) = 179245 bytes
BLAKE2s (frozen_flask-1.0.1.tar.gz) = 2eea8e7764a3c18bbeb44174f0d1b2a56c140e9418cbcacb64ba6c96a86c13bd
SHA512 (frozen_flask-1.0.1.tar.gz) = b4e1cfebbb374fa8e863436e0ed637e1a57432fb2a2e719536161fea359320384b51238dae1cf3fca0e10d41c9bc7cd84fba4c6978de45c5cfcdba1a494aaea2
Size (frozen_flask-1.0.1.tar.gz) = 101449 bytes
SHA1 (patch-pyproject.toml) = 43bbaaa391da880c1e012556148c69fe397c746d
15 changes: 15 additions & 0 deletions www/py-flask-frozen/patches/patch-pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-pyproject.toml,v 1.1 2024/01/20 10:21:27 adam Exp $

Fix build.

--- pyproject.toml.orig 2024-01-20 10:19:00.877645966 +0000
+++ pyproject.toml
@@ -52,7 +52,7 @@ path = 'flask_frozen/__init__.py'
exclude = ['.*']

[tool.hatch.build.targets.wheel]
-exclude = ['docs', 'tests']
+packages = ['flask_frozen']

[tool.hatch.envs.doc]
features = ['doc']

0 comments on commit 11c7415

Please sign in to comment.