diff options
Diffstat (limited to 'dev-python/django-sortedm2m')
-rw-r--r-- | dev-python/django-sortedm2m/Manifest | 4 | ||||
-rw-r--r-- | dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild | 30 | ||||
-rw-r--r-- | dev-python/django-sortedm2m/metadata.xml | 5 |
3 files changed, 37 insertions, 2 deletions
diff --git a/dev-python/django-sortedm2m/Manifest b/dev-python/django-sortedm2m/Manifest index 4324d0769ead..4a677004516e 100644 --- a/dev-python/django-sortedm2m/Manifest +++ b/dev-python/django-sortedm2m/Manifest @@ -1,3 +1,5 @@ DIST django-sortedm2m-1.3.2.tar.gz 36246 BLAKE2B c794373d3555010778727146717778130b311d3c1869f0539b07980de2222d69c1ad4dd508cf35da32f4f55af0ea6cbc0d322de40454548dc59f156ae7856f4f SHA512 3695cc0a565a6e1d47e3573dce1f8c860f78c8d11d248634a8ffd6534c621e7575b2333b7a83e6c521e6e737d7ffc67ce1bbcc8504542751d3cfb254b3d98584 +DIST django-sortedm2m-2.0.0.gh.tar.gz 44491 BLAKE2B f6fb1e8678a47881a52fa8dc65bd16b97871c9a711f6dd604c3293b6f77f943f3fc797c3dcebc43db7c6982d8bae8dbfbf7ae6d7904bd17309d6bd0a833083e3 SHA512 207abbe3ca9b46a26a8a6cea278c87a72990577afeaced347aa9c020a15fd8a384491f2c027d811ee96633cdafd23e2ab841b4cc90d88119415a71cf4860bb96 EBUILD django-sortedm2m-1.3.2.ebuild 491 BLAKE2B 82ed71f8e6c8bf6d186fd236fab341a5b01949452b5bc3a1547654b78604c106f26a9f0a58df31ddd3dae3c6e4cc5e8d4ee6571c5cb0264fdf5b9572cdd03dcb SHA512 715d284a1879796d34c17a7dc6fa1b5671c49d247123ea79284fd028e597eb12429036da06d2be3bf1157d0b14b46b014e6827b5106cc91223279a64ee1da088 -MISC metadata.xml 251 BLAKE2B a609a079d9180c47a57767595611550b8e2696e147db89d7967bf6eeb3ef34a0ef66e0370d454f2b66f34f94f9c5a004df5251dd09b55672c785792ba194c8ac SHA512 74645854453d611ec6269fbd3c70d5f1ad44a8ac0aa5d9c9aefa6b4305dcc5d9f4efa73a3c937bb48d2cdfd61e29d6de9d78a24fe4f8df754dcbc379f091ff2b +EBUILD django-sortedm2m-2.0.0.ebuild 795 BLAKE2B df4a7ab9e5780ee4d6d721f5e911261ff0ab99b9427cc9dc4f58088a6fec99c2dd611d7c32804c63f6d9709bb0f3be9bdb5f1e9f497712e5b163998e19188450 SHA512 4c91dcc83090c8cd8b3d2f80432574658119ce141c384915256ec84eb05d7195c910477611873dde043f7bfde12cf9aaabb61c00a0a55dcb2c655548dfb6d16e +MISC metadata.xml 329 BLAKE2B f56302e008935e131134356469a8f76d56fe7b69f33267769dd36cd115eba90ee52d485236971cd39f93e0a3ce027948b2a93c499b205b80b8d01909ebad93af SHA512 8a6f9414b12a198d536062a2e4632a8461f9635d8fcece03bdb05fbe511f7b6683f42ea09d4eb8304a25450f2e707717f4e066498ff74a76d14609af39911aed diff --git a/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild b/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild new file mode 100644 index 000000000000..f513c330485d --- /dev/null +++ b/dev-python/django-sortedm2m/django-sortedm2m-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Drop-in replacement for django's many to many field with sorted relations" +HOMEPAGE="https://pypi.org/project/django-sortedm2m/ + https://github.com/jazzband/django-sortedm2m" +SRC_URI=" + https://github.com/jazzband/django-sortedm2m/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +BDEPEND="test? ( ${RDEPEND} )" + +python_test() { + local -x PYTHONPATH=test_project:${PYTHONPATH} + django-admin test -v 2 --settings=settings --noinput sortedm2m_tests || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/django-sortedm2m/metadata.xml b/dev-python/django-sortedm2m/metadata.xml index c470419cd51c..4f0804843856 100644 --- a/dev-python/django-sortedm2m/metadata.xml +++ b/dev-python/django-sortedm2m/metadata.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> <remote-id type="pypi">django-sortedm2m</remote-id> </upstream> |