diff options
Diffstat (limited to 'dev-python/django-tables2')
-rw-r--r-- | dev-python/django-tables2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/django-tables2/django-tables2-2.5.1.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/django-tables2/Manifest b/dev-python/django-tables2/Manifest index 093591d841a8..d63264febe8a 100644 --- a/dev-python/django-tables2/Manifest +++ b/dev-python/django-tables2/Manifest @@ -1,7 +1,9 @@ DIST django-tables2-2.3.4.tar.gz 77706 BLAKE2B 54e0903747ab29dab26049868f8cfd412d23fe3f36eaf292bebc90ee1c307f08d04af1eed469423e3699db227110fc0347a8034acb3b3b46971d37b3aebb84a1 SHA512 d10144b79850847d2787e4a97f450eb3709a419a5dcd330667e3746c16f3be7472c6c26dbf7d765356130b79b8c915c46fd3201c83e66806753f1bb95911895f DIST django-tables2-2.4.1.gh.tar.gz 429723 BLAKE2B 80361d419279f548c089c4da990a45c6b43576746ec2762928af907415f3ea331a89f7e0ec7b792d27e15ed409b25f3ee26b3794cdb16255835f0d74faee068c SHA512 e2431f86e049b9dee1100d48727ea2003e431a3ad5bf8e8a4b773d53dc4d5e90ec310a7f07ce7532e044903d760aacda37b3512770f6e0db6527842d1cbdd6d9 DIST django-tables2-2.5.0.gh.tar.gz 430376 BLAKE2B 592a488fea869c2b0630c8d3ad72182636206a2b394355a2702c2dbeac43a67f9175a9f7756349c3d7877d2887af0e32816e2a4c9ba5234f04e9828fe38ffe29 SHA512 b0a31860205c5e68a520d1fdbfe16e094701dbcf1cf8c46d62c32b8194c121271832f08ca0fdb4c05cb52c1fde5ef66e323d3f772e2562da4f48188128cfa8a0 +DIST django-tables2-2.5.1.gh.tar.gz 430778 BLAKE2B 7811880ec49a514b74252d32fbc59d800aaa34fb2bf4af5675d1c4555c7a52f9eb3ca67d8d940697146c07de1e42006c6d3880a53b31a386bd088aa6939b056f SHA512 baf955b255dcbcf09250cfdbb2dc1fb51f3f9142ad29bf4ca8888344d1bcbe9f23a59f1509cad7e847d82bb6d410a494ed9eae1d4d4ca633e7f0351e4a98839d EBUILD django-tables2-2.3.4.ebuild 501 BLAKE2B a1c70c64e136118e01d068ff33d661665190f654efd10897d359fb48424aaa4279b41efa310378ab5f3e0ef7afee6f46289c3acf6bd2fa717def98c0f2b54645 SHA512 395e9bad00b6b3f0047fd2cb402f0383481289888c1b927b7b3ddd449cc5a9a3645b8718a2a7c9738462154d5c22182e8358535478206fde136912d26588af63 EBUILD django-tables2-2.4.1.ebuild 1085 BLAKE2B c6005cc5bb521ca2c34bc122e3808de2081bd018f3f7b623c276d97523867828b595f14277a48d6c59e8cc790a944d13b99eb704fe2311513757be12e8cae939 SHA512 1a966d0e2c464079ba3cc89687f6a0b8b8cd8f083077d36b8e10b187d5c2e3a729ab22537f3d5f6de28461b7f824baeab09c39a67c83ac63e807eadb07416fb4 EBUILD django-tables2-2.5.0.ebuild 1084 BLAKE2B be60a4c006e3c544b1c8d013aba123d07913c7997b9a5fff10bc0730a5e23aeb516a10fbafaddd132974c58bc932ac6818a079b48c96eb841325286ba1da018e SHA512 52b7e8d3c25a7b61229457e84f19efb6c0882f3c8cbdecad6133d0c45194b91703774f119f32bdc9283600d4ab179ef10afee8f49dbc6187792a3f7db1a97959 +EBUILD django-tables2-2.5.1.ebuild 1084 BLAKE2B c2ca226e2cec04c762ac396b478f05ac69a9e020f8d14a712f2c6ceb6bb9aa2804a72264875942795a34b5a6f20c6e7ccd4eff369b4e952aff03fad7e9b4bb1c SHA512 9e983a633e4822b3e1de823a657aa910b11ca3d3ec62ebd5d7ca139d93b484b6d1ca0cce5dbf7941277483f271894ff677311f6d46ec0573b7a5bcaea591245c MISC metadata.xml 391 BLAKE2B 04f9dfef34c08b992fa0068be666086826cc68a5ebc7988aac9d434e45d2566c183e1f7fc87ba7caede99f3b369ae0e41948f50621148e53cafd8349e2f4be38 SHA512 442aa71cbf9a8d352fab88e03f754c888dc3d866f2c467c3e4dff99a9464119d6d12bafc61c149325b16a5ef868579665ca680bc360904f6e06a6b27b8a5f1e7 diff --git a/dev-python/django-tables2/django-tables2-2.5.1.ebuild b/dev-python/django-tables2/django-tables2-2.5.1.ebuild new file mode 100644 index 000000000000..148dde53f147 --- /dev/null +++ b/dev-python/django-tables2/django-tables2-2.5.1.ebuild @@ -0,0 +1,52 @@ +# 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_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Table/data-grid framework for Django" +HOMEPAGE=" + https://pypi.org/project/django-tables2/ + https://github.com/jieter/django-tables2/ +" +SRC_URI=" + https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # these tests require tablib + rm tests/test_export.py tests/test_templatetags.py || die + # these tests require fudge + rm tests/test_config.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" manage.py test -v 2 tests || die +} |