mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
django-formtools: update 2.5.1, drop 2.1, add doc
restrict test upgrade dependency fix pkgcheck scan add a patch to fix setuptools
This commit is contained in:
parent
8f4278af28
commit
a6a49e7733
3 changed files with 48 additions and 6 deletions
|
|
@ -1 +1 @@
|
|||
DIST django-formtools-2.1.tar.gz 70182 BLAKE2B 955278ba70b469b84e4d94983729ac7669c90cc23fcc2806abac92b2e0ef59870f8466879e2e378fe6699a17374769abc1835e331e675b5ad5dc2e90f9f1f5c2 SHA512 b3a89b0e7dfbfd1ae1ec92bb100fb8d332a4bdfb00e2b25a306dea3863b95e18372919823a9bb4945b367011fd31e89be52b08a916b797ecc508809815622b9e
|
||||
DIST django-formtools-2.5.1.gh.tar.gz 80928 BLAKE2B 4f03016a506ea8a9cb8b1e845fae0b384e3857e275007646477dda97c9cb784ef7bae28339f54b744a61926414721c58ccd60afb70eb06802df55f329860350e SHA512 2b6e4061f2e01b074d8ce92fab3579bf844666e85be36ce6a6522c526a96d695f2939267278af10a167e46e61d6f6301acab832b1d50cdd5ec75ff7c3081966b
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -10,12 +10,17 @@ inherit distutils-r1
|
|||
|
||||
DESCRIPTION="A set of high-level abstractions for Django forms"
|
||||
HOMEPAGE="https://django-formtools.readthedocs.io/en/latest/ https://django-filter.readthedocs.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/jazzband/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="test" # it's using tox
|
||||
|
||||
CDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=">=dev-python/django-3.2[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-pyproject.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
Patch pyproject for tarball and not dynamic version
|
||||
Fix by rick <rick@gnous.eu>
|
||||
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -2,7 +2,6 @@
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = [
|
||||
"setuptools>=61.2",
|
||||
- "setuptools_scm",
|
||||
]
|
||||
|
||||
[project]
|
||||
@@ -32,9 +31,7 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
]
|
||||
-dynamic = [
|
||||
- "version",
|
||||
-]
|
||||
+version = "2.5.1"
|
||||
dependencies = [
|
||||
"Django>=3.2",
|
||||
]
|
||||
@@ -53,11 +50,9 @@ license-files = ["LICENSE"]
|
||||
zip-safe = false
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
-exclude = ["tests"] # tests.*
|
||||
+exclude = ["tests*"] # tests.*
|
||||
namespaces = false
|
||||
|
||||
-[tool.setuptools_scm]
|
||||
-
|
||||
[tool.codespell]
|
||||
skip = "*.po"
|
||||
|
||||
Loading…
Reference in a new issue