From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3221315808B for ; Thu, 10 Feb 2022 21:10:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 513D3E0B42; Thu, 10 Feb 2022 21:10:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34B82E0B3B for ; Thu, 10 Feb 2022 21:10:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F5DE342E28 for ; Thu, 10 Feb 2022 21:10:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E6CF2D1 for ; Thu, 10 Feb 2022 21:10:43 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1644527407.d42b55fd8448ac9a9c0fefb25bdd3252a18e6932.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-js-asset/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-js-asset/Manifest dev-python/django-js-asset/django-js-asset-2.0.ebuild X-VCS-Directories: dev-python/django-js-asset/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d42b55fd8448ac9a9c0fefb25bdd3252a18e6932 X-VCS-Branch: master Date: Thu, 10 Feb 2022 21:10:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1283ede0-8836-4491-b52c-8c1fb790d9f2 X-Archives-Hash: ce03a68f2c46f3593b175782c223458b commit: d42b55fd8448ac9a9c0fefb25bdd3252a18e6932 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Feb 10 20:53:48 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Feb 10 21:10:07 2022 +0000 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 000000000000..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}" +}