Skip to content

Commit

Permalink
www/py-django-smart-selects: Update to 1.6.0
Browse files Browse the repository at this point in the history
* Remove LICENSE from ${FILESDIR} as the license file is already
  supplied with the sdist.

* devel/py-setuptools-scm is only required for build as it's also
  defined in setup.py.

* Prevent the installation of the test suite to avoid installation
  conflicts. [1]

Changelog:

https://github.com/jazzband/django-smart-selects/releases/tag/1.6.0

PR:		277000, 262759 [1]
Approved by:	maintainer timeout (3+ weeks)
  • Loading branch information
knobix committed Mar 9, 2024
1 parent 90d0d2f commit 2328d0f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 37 deletions.
11 changes: 5 additions & 6 deletions www/py-django-smart-selects/Makefile
@@ -1,6 +1,5 @@
PORTNAME= django-smart-selects
PORTVERSION= 1.5.9
PORTREVISION= 1
PORTVERSION= 1.6.0
CATEGORIES= www
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,12 +9,12 @@ COMMENT= Quickly filter or group "chained" models
WWW= https://github.com/jazzband/django-smart-selects

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django32>0:www/py-django32@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}

USES= python:run
USES= python
USE_PYTHON= autoplist distutils

NO_ARCH= yes
Expand Down
6 changes: 3 additions & 3 deletions www/py-django-smart-selects/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1618936160
SHA256 (django-smart-selects-1.5.9.tar.gz) = 2b87362c15c0e80ba10d71955b85a486a50bd00ac72bb9014b25e4a3715988c2
SIZE (django-smart-selects-1.5.9.tar.gz) = 25967
TIMESTAMP = 1707669089
SHA256 (django-smart-selects-1.6.0.tar.gz) = 67ce449bf456ddb6fc5434fa1a55f21194ef11a3b6871d7454f7f7c5a30bf493
SIZE (django-smart-selects-1.6.0.tar.gz) = 263290
28 changes: 0 additions & 28 deletions www/py-django-smart-selects/files/LICENSE

This file was deleted.

14 changes: 14 additions & 0 deletions www/py-django-smart-selects/files/patch-setup.py
@@ -0,0 +1,14 @@
Avoid the installation of the test suite in the top-level directory
of ${PYTHON_SITELIBDIR}.

--- setup.py.orig 2024-02-12 05:03:25 UTC
+++ setup.py
@@ -14,7 +14,7 @@ setup(
author="Patrick Lauber",
author_email="digi@treepy.com",
url="https://github.com/jazzband/django-smart-selects",
- packages=find_packages(),
+ packages=find_packages(exclude=['test_app*']),
include_package_data=True,
python_requires=">=3.6",
install_requires=["django>=2.2"],

0 comments on commit 2328d0f

Please sign in to comment.