[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2023-12-12 Thread Michał Górny
commit: 17da58697f7716ae08d8a8d234f37a684cf42aa2
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 13 04:31:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 13 04:38:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17da5869

dev-python/django-js-asset: Bump to 2.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 +
 .../django-js-asset/django-js-asset-2.2.0.ebuild   | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index 7f2842ff29f3..c08b4e36d99c 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1 +1,2 @@
 DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B 
a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904
 SHA512 
d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc
+DIST django_js_asset-2.2.0.tar.gz 7904 BLAKE2B 
2200ffec739325e01070c53247eb613162bbb09447ea370d3c74bd721c0431cac78e188ac826b6292281b48adfff6789faafdc5c606121262b11c90aeb1900b3
 SHA512 
23a415fcbc76b9885a1b2831ec87ba64e79019b5595e3865c283c4e558e4cd986b5ab39f25e07308575320684dcc449e1d2029b8f145955f448a9f70bae34951

diff --git a/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild
new file mode 100644
index ..94a57b485d5b
--- /dev/null
+++ b/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Script tag with additional attributes for django.forms.Media"
+HOMEPAGE="
+   https://github.com/matthiask/django-js-asset/
+   https://pypi.org/project/django-js-asset/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/django-3.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   )
+"
+
+python_test() {
+   cd tests || die
+   local -x DJANGO_SETTINGS_MODULE=testapp.settings
+   "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/files/, dev-python/django-js-asset/

2023-12-12 Thread Michał Górny
commit: c5900902f013076210b2dc4278b436367baecc32
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 13 04:31:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 13 04:38:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5900902

dev-python/django-js-asset: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 -
 .../django-js-asset/django-js-asset-2.1.0.ebuild   | 41 --
 .../files/django-js-asset-2.1.0-hatchling.patch| 29 ---
 3 files changed, 71 deletions(-)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index c08b4e36d99c..2296ee76e2a1 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1,2 +1 @@
-DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B 
a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904
 SHA512 
d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc
 DIST django_js_asset-2.2.0.tar.gz 7904 BLAKE2B 
2200ffec739325e01070c53247eb613162bbb09447ea370d3c74bd721c0431cac78e188ac826b6292281b48adfff6789faafdc5c606121262b11c90aeb1900b3
 SHA512 
23a415fcbc76b9885a1b2831ec87ba64e79019b5595e3865c283c4e558e4cd986b5ab39f25e07308575320684dcc449e1d2029b8f145955f448a9f70bae34951

diff --git a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
deleted file mode 100644
index 524084cf255c..
--- a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Script tag with additional attributes for django.forms.Media"
-HOMEPAGE="
-   https://github.com/matthiask/django-js-asset/
-   https://pypi.org/project/django-js-asset/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/django-3.2[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   ${RDEPEND}
-   )
-"
-
-PATCHES=(
-   # https://github.com/matthiask/django-js-asset/pull/12
-   "${FILESDIR}/${P}-hatchling.patch"
-)
-
-python_test() {
-   cd tests || die
-   local -x DJANGO_SETTINGS_MODULE=testapp.settings
-   "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
-}

diff --git 
a/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch 
b/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch
deleted file mode 100644
index 194d97192b3c..
--- a/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 440ad305e76a0a948e0df54eb9b92b59c1ac9cb9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Tue, 12 Dec 2023 18:17:50 +0100
-Subject: [PATCH] Fix building with hatchling-1.19
-
-Explicitly specify package name, as hatchling-1.19 now does not include
-packages that do not match the project name by default, and raises
-an error instead.

- pyproject.toml | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index cf963d8..478d8fc 100644
 a/pyproject.toml
-+++ b/pyproject.toml
-@@ -42,6 +42,9 @@ tests = [
- [project.urls]
- Homepage = "https://github.com/matthiask/django-js-asset/;
- 
-+[tool.hatch.build.targets.wheel]
-+packages = ["js_asset"]
-+
- [tool.hatch.version]
- path = "js_asset/__init__.py"
- 
--- 
-2.43.0
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/files/, dev-python/django-js-asset/

2023-12-12 Thread Michał Górny
commit: 1bf46292200463ff64e6004e5bdfa5271b10822a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 12 17:20:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 12 17:21:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf46292

dev-python/django-js-asset: Fix building with hatchling-1.19

Closes: https://bugs.gentoo.org/919785
Signed-off-by: Michał Górny  gentoo.org>

 .../django-js-asset/django-js-asset-2.1.0.ebuild   |  5 
 .../files/django-js-asset-2.1.0-hatchling.patch| 29 ++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
index 94a57b485d5b..524084cf255c 100644
--- a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
@@ -29,6 +29,11 @@ BDEPEND="
)
 "
 
+PATCHES=(
+   # https://github.com/matthiask/django-js-asset/pull/12
+   "${FILESDIR}/${P}-hatchling.patch"
+)
+
 python_test() {
cd tests || die
local -x DJANGO_SETTINGS_MODULE=testapp.settings

diff --git 
a/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch 
b/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch
new file mode 100644
index ..194d97192b3c
--- /dev/null
+++ b/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch
@@ -0,0 +1,29 @@
+From 440ad305e76a0a948e0df54eb9b92b59c1ac9cb9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Tue, 12 Dec 2023 18:17:50 +0100
+Subject: [PATCH] Fix building with hatchling-1.19
+
+Explicitly specify package name, as hatchling-1.19 now does not include
+packages that do not match the project name by default, and raises
+an error instead.
+---
+ pyproject.toml | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index cf963d8..478d8fc 100644
+--- a/pyproject.toml
 b/pyproject.toml
+@@ -42,6 +42,9 @@ tests = [
+ [project.urls]
+ Homepage = "https://github.com/matthiask/django-js-asset/;
+ 
++[tool.hatch.build.targets.wheel]
++packages = ["js_asset"]
++
+ [tool.hatch.version]
+ path = "js_asset/__init__.py"
+ 
+-- 
+2.43.0
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2023-07-28 Thread Michał Górny
commit: 124c2ed34cc7459d273f26e3916c6d8331dfcce1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 28 15:52:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 28 15:58:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124c2ed3

dev-python/django-js-asset: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/django-js-asset-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
index 119d7ac8ef32..56c83a8ff25c 100644
--- a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2023-07-24 Thread Michał Górny
commit: 0c906fffeda3aa210752c86b31bbcc91f7097796
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 11:18:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 11:31:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c906fff

dev-python/django-js-asset: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 -
 .../django-js-asset/django-js-asset-2.0.ebuild | 40 --
 2 files changed, 41 deletions(-)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index 72464c2ec5ac..7f2842ff29f3 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1,2 +1 @@
-DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 
5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd
 SHA512 
0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7
 DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B 
a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904
 SHA512 
d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc

diff --git a/dev-python/django-js-asset/django-js-asset-2.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
deleted file mode 100644
index 6654e3521448..
--- a/dev-python/django-js-asset/django-js-asset-2.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Script tag with additional attributes for django.forms.Media"
-HOMEPAGE="
-   https://github.com/matthiask/django-js-asset/
-   https://pypi.org/project/django-js-asset/
-"
-SRC_URI="
-   https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/django-2.2[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   ${RDEPEND}
-   )
-"
-
-python_test() {
-   cd tests || die
-   local -x DJANGO_SETTINGS_MODULE=testapp.settings
-   "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2023-06-28 Thread Michał Górny
commit: 23454c5f89ab64cc93a6aa144a7d49694a70e3a1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 29 04:16:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 29 05:12:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23454c5f

dev-python/django-js-asset: Bump to 2.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 +
 .../django-js-asset/django-js-asset-2.1.0.ebuild   | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index 62e9dc794edf..72464c2ec5ac 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1 +1,2 @@
 DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 
5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd
 SHA512 
0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7
+DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B 
a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904
 SHA512 
d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc

diff --git a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
new file mode 100644
index ..119d7ac8ef32
--- /dev/null
+++ b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Script tag with additional attributes for django.forms.Media"
+HOMEPAGE="
+   https://github.com/matthiask/django-js-asset/
+   https://pypi.org/project/django-js-asset/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/django-3.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   )
+"
+
+python_test() {
+   cd tests || die
+   local -x DJANGO_SETTINGS_MODULE=testapp.settings
+   "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2023-02-15 Thread Michał Górny
commit: 14dd959a95014c0d63fe56ee8ab69030482d370c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 15 13:09:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 15 13:10:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14dd959a

dev-python/django-js-asset: Enable py3.11, take for python@

Signed-off-by: Michał Górny  gentoo.org>

 .../django-js-asset/django-js-asset-2.0.ebuild   | 20 +++-
 dev-python/django-js-asset/metadata.xml  |  7 ++-
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/dev-python/django-js-asset/django-js-asset-2.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
index 8eb1953daefe..6654e3521448 100644
--- a/dev-python/django-js-asset/django-js-asset-2.0.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
@@ -4,11 +4,15 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
+
 inherit distutils-r1
 
-DESCRIPTION="script tag with additional attributes for django.forms.Media"
-HOMEPAGE="https://github.com/matthiask/django-js-asset;
+DESCRIPTION="Script tag with additional attributes for django.forms.Media"
+HOMEPAGE="
+   https://github.com/matthiask/django-js-asset/
+   https://pypi.org/project/django-js-asset/
+"
 SRC_URI="
https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
@@ -20,8 +24,14 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]"
-BDEPEND="test? ( ${RDEPEND} )"
+RDEPEND="
+   >=dev-python/django-2.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   )
+"
 
 python_test() {
cd tests || die

diff --git a/dev-python/django-js-asset/metadata.xml 
b/dev-python/django-js-asset/metadata.xml
index 039080e9bc24..fa3194cddf60 100644
--- a/dev-python/django-js-asset/metadata.xml
+++ b/dev-python/django-js-asset/metadata.xml
@@ -1,8 +1,13 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   pyt...@gentoo.org
+   Python
+   
+   

+   matthiask/django-js-asset
django-js-asset

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/, dev-python/django-js-asset/files/

2022-02-10 Thread Michał Górny
commit: 4dc9e0d4e4e87edc8ceaf9186f1e7bde88fb044c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 10 22:59:33 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 10 23:56:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc9e0d4

dev-python/django-js-asset: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 -
 .../django-js-asset/django-js-asset-1.2.2.ebuild   | 33 -
 .../files/django-js-asset-1.2.2-fix-django3.patch  | 55 --
 3 files changed, 89 deletions(-)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index f87a34185d01..62e9dc794edf 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1,2 +1 @@
-DIST django-js-asset-1.2.2.gh.tar.gz 6367 BLAKE2B 
5b24d3a2cf1ca2b28b82e581541dcb58aa2bf25d99f865007730c00211452dc5a062dc014b47fd1d10020d2a0b8f74060910460dec4f95be2b83c5c6d7bfb4d2
 SHA512 
ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9
 DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 
5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd
 SHA512 
0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7

diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild 
b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
deleted file mode 100644
index 5704b6a31f05..
--- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="script tag with additional attributes for django.forms.Media"
-HOMEPAGE="https://github.com/matthiask/django-js-asset;
-SRC_URI="
-   https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]"
-BDEPEND="test? ( ${RDEPEND} )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-fix-django3.patch"
-)
-
-python_test() {
-   cd tests || die
-   local -x DJANGO_SETTINGS_MODULE=testapp.settings
-   django-admin test -v 2 || die
-}

diff --git 
a/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch 
b/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch
deleted file mode 100644
index 4ab0484b17e0..
--- a/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 232536ba50a2e1a0cffc6046dbcdfdec22cb0d9e Mon Sep 17 00:00:00 2001
-From: Matthias Kestenholz 
-Date: Fri, 15 May 2020 08:51:33 +0200
-Subject: [PATCH] Adapt the test suite to changes in Django
-
 a/tests/testapp/test_js_asset.py
-+++ b/tests/testapp/test_js_asset.py
-@@ -1,11 +1,15 @@
- from __future__ import unicode_literals
- 
-+import django
- from django.forms import Media
- from django.test import TestCase
- 
- from js_asset.js import JS
- 
- 
-+JS_TYPE = ' type="text/javascript"' if django.VERSION < (3, 1) else ""
-+
-+
- class AssetTest(TestCase):
- def test_asset(self):
- media = Media(
-@@ -25,15 +29,17 @@ def test_asset(self):
- html,
- )
- self.assertInHTML(
--'',  # noqa
-+''.format(JS_TYPE),  
# noqa
- html,
- )
- self.assertInHTML(
--'',  # noqa
-+''.format(  # noqa
-+JS_TYPE
-+),
- html,
- )
- self.assertInHTML(
--'',  # noqa
-+''.format(JS_TYPE),
- html,
- )
- 
-@@ -42,7 +48,9 @@ def test_absolute(self):
- html = "%s" % media
- 
- self.assertInHTML(
--'https://cdn.example.org/script.js";>',  # noqa
-+'https://cdn.example.org/script.js;>'.format(
-+JS_TYPE
-+),
- html,
- )
- 



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2022-02-10 Thread Arthur Zamarin
commit: d42b55fd8448ac9a9c0fefb25bdd3252a18e6932
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 10 20:53:48 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 10 21:10:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d42b55fd

dev-python/django-js-asset: add 2.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/django-js-asset/Manifest|  1 +
 .../django-js-asset/django-js-asset-2.0.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index 6a029054963b..f87a34185d01 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1 +1,2 @@
 DIST django-js-asset-1.2.2.gh.tar.gz 6367 BLAKE2B 
5b24d3a2cf1ca2b28b82e581541dcb58aa2bf25d99f865007730c00211452dc5a062dc014b47fd1d10020d2a0b8f74060910460dec4f95be2b83c5c6d7bfb4d2
 SHA512 
ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9
+DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 
5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd
 SHA512 
0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7

diff --git a/dev-python/django-js-asset/django-js-asset-2.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
new file mode 100644
index ..6c706aabc246
--- /dev/null
+++ b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="script tag with additional attributes for django.forms.Media"
+HOMEPAGE="https://github.com/matthiask/django-js-asset;
+SRC_URI="
+   https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]"
+BDEPEND="test? ( ${RDEPEND} )"
+
+python_test() {
+   cd tests || die
+   local -x DJANGO_SETTINGS_MODULE=testapp.settings
+   "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/files/, dev-python/django-js-asset/

2021-10-03 Thread Arthur Zamarin
commit: 483b351863737a94b3e5871678dd45b40ba815ae
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  3 07:06:41 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  3 08:22:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483b3518

dev-python/django-js-asset: enable py3.10, cleanup tests

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/django-js-asset/Manifest|  2 +-
 .../django-js-asset/django-js-asset-1.2.2.ebuild   | 23 ++---
 .../files/django-js-asset-1.2.2-fix-django3.patch  | 55 ++
 3 files changed, 73 insertions(+), 7 deletions(-)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
index 75fad6dc707..6a029054963 100644
--- a/dev-python/django-js-asset/Manifest
+++ b/dev-python/django-js-asset/Manifest
@@ -1 +1 @@
-DIST django-js-asset-1.2.2.tar.gz 4436 BLAKE2B 
e6b2ff1b2b90da5ae95af08b28eb1970e6e0edffee7eeec0a4697855040c4afd0febcc569d0a78c46bca80835b404367c426019016e5089b3aed984916e13cc2
 SHA512 
ea050c5093abd8312733b1402e275fcb44f0702c27e28aeb64d0470a8514cd85906707915556a9878b669c96918813c4bf2b69d281d33f18fcc7c143f8ae9f48
+DIST django-js-asset-1.2.2.gh.tar.gz 6367 BLAKE2B 
5b24d3a2cf1ca2b28b82e581541dcb58aa2bf25d99f865007730c00211452dc5a062dc014b47fd1d10020d2a0b8f74060910460dec4f95be2b83c5c6d7bfb4d2
 SHA512 
ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9

diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild 
b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
index 16175edec80..5704b6a31f0 100644
--- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
@@ -3,20 +3,31 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="script tag with additional attributes for django.forms.Media"
 HOMEPAGE="https://github.com/matthiask/django-js-asset;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="
+   https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-RESTRICT="test"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-python/coverage[${PYTHON_USEDEP}] )"
+BDEPEND="test? ( ${RDEPEND} )"
 
-distutils_enable_tests setup.py
+PATCHES=(
+   "${FILESDIR}/${P}-fix-django3.patch"
+)
+
+python_test() {
+   cd tests || die
+   local -x DJANGO_SETTINGS_MODULE=testapp.settings
+   django-admin test -v 2 || die
+}

diff --git 
a/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch 
b/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch
new file mode 100644
index 000..4ab0484b17e
--- /dev/null
+++ b/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch
@@ -0,0 +1,55 @@
+From 232536ba50a2e1a0cffc6046dbcdfdec22cb0d9e Mon Sep 17 00:00:00 2001
+From: Matthias Kestenholz 
+Date: Fri, 15 May 2020 08:51:33 +0200
+Subject: [PATCH] Adapt the test suite to changes in Django
+
+--- a/tests/testapp/test_js_asset.py
 b/tests/testapp/test_js_asset.py
+@@ -1,11 +1,15 @@
+ from __future__ import unicode_literals
+ 
++import django
+ from django.forms import Media
+ from django.test import TestCase
+ 
+ from js_asset.js import JS
+ 
+ 
++JS_TYPE = ' type="text/javascript"' if django.VERSION < (3, 1) else ""
++
++
+ class AssetTest(TestCase):
+ def test_asset(self):
+ media = Media(
+@@ -25,15 +29,17 @@ def test_asset(self):
+ html,
+ )
+ self.assertInHTML(
+-'',  # noqa
++''.format(JS_TYPE),  
# noqa
+ html,
+ )
+ self.assertInHTML(
+-'',  # noqa
++''.format(  # noqa
++JS_TYPE
++),
+ html,
+ )
+ self.assertInHTML(
+-'',  # noqa
++''.format(JS_TYPE),
+ html,
+ )
+ 
+@@ -42,7 +48,9 @@ def test_absolute(self):
+ html = "%s" % media
+ 
+ self.assertInHTML(
+-'https://cdn.example.org/script.js";>',  # noqa
++'https://cdn.example.org/script.js;>'.format(
++JS_TYPE
++),
+ html,
+ )
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2021-05-15 Thread William Hubbs
commit: 6545781e452fc0faedbf9ef0997a20048faf148c
Author: William Hubbs  gentoo  org>
AuthorDate: Sat May 15 23:20:47 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat May 15 23:21:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6545781e

dev-python/django-js-asset: remove myself from maintainers

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: William Hubbs  gentoo.org>

 dev-python/django-js-asset/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/django-js-asset/metadata.xml 
b/dev-python/django-js-asset/metadata.xml
index 1aca95d47fd..797e817ce6d 100644
--- a/dev-python/django-js-asset/metadata.xml
+++ b/dev-python/django-js-asset/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   willi...@gentoo.org
-   William Hubbs
-   
+   

django-js-asset




[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2021-01-30 Thread Conrad Kostecki
commit: 245de16916deb56532a409d420fa6013b9c6ecee
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Jan 30 19:58:57 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Jan 30 20:26:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245de169

dev-python/django-js-asset: add python3_9 support

Closes: https://bugs.gentoo.org/767001
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-python/django-js-asset/django-js-asset-1.2.2.ebuild | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild 
b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
index c252e0ece1b..16175edec80 100644
--- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 
 DESCRIPTION="script tag with additional attributes for django.forms.Media"
@@ -13,7 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
+RESTRICT="test"
 
 RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-python/coverage[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests setup.py



[gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/

2019-03-14 Thread William Hubbs
commit: dcd9b6f998b2b6c67a6c225f8062ce02f391b082
Author: William Hubbs  sony  com>
AuthorDate: Thu Mar 14 21:15:42 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 14 21:25:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd9b6f9

dev-python/django-js-asset: additional attributes for django.forms.Media

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

 dev-python/django-js-asset/Manifest   |  1 +
 .../django-js-asset/django-js-asset-1.2.2.ebuild  | 19 +++
 dev-python/django-js-asset/metadata.xml   |  8 
 3 files changed, 28 insertions(+)

diff --git a/dev-python/django-js-asset/Manifest 
b/dev-python/django-js-asset/Manifest
new file mode 100644
index 000..75fad6dc707
--- /dev/null
+++ b/dev-python/django-js-asset/Manifest
@@ -0,0 +1 @@
+DIST django-js-asset-1.2.2.tar.gz 4436 BLAKE2B 
e6b2ff1b2b90da5ae95af08b28eb1970e6e0edffee7eeec0a4697855040c4afd0febcc569d0a78c46bca80835b404367c426019016e5089b3aed984916e13cc2
 SHA512 
ea050c5093abd8312733b1402e275fcb44f0702c27e28aeb64d0470a8514cd85906707915556a9878b669c96918813c4bf2b69d281d33f18fcc7c143f8ae9f48

diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild 
b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
new file mode 100644
index 000..9f097d63ab2
--- /dev/null
+++ b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+DESCRIPTION="script tag with additional attributes for django.forms.Media"
+HOMEPAGE="https://github.com/matthiask/django-js-asset;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+dev-python/setuptools[${PYTHON_USEDEP}]"

diff --git a/dev-python/django-js-asset/metadata.xml 
b/dev-python/django-js-asset/metadata.xml
new file mode 100644
index 000..c36c37139fa
--- /dev/null
+++ b/dev-python/django-js-asset/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   willi...@gentoo.org
+   William Hubbs
+   
+