Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542020 - dev-python/django-registration homepage changed + version bump request
Summary: dev-python/django-registration homepage changed + version bump request
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL: https://github.com/ubernostrum/django...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 16:27 UTC by El Goretto
Modified: 2020-02-21 19:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild draft from an unskilled guy - using django-registration-redux code (django-registration-1.1.ebuild,677 bytes, text/plain)
2015-03-11 13:42 UTC, El Goretto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description El Goretto 2015-03-03 16:27:13 UTC
You can read there (https://bitbucket.org/ubernostrum/django-registration/wiki/Home):
"I stepped down as maintainer of this application in September 2013. Pull requests, issues and comments sent to this repository will be ignored.
django-registration-redux is a maintained version of this code.
https://github.com/macropin/django-registration"

The "redux" version seems sweet to my ears: "django-registration (redux) now with Django 1.6/1.7 & Python 3 support".
And as a matter of fact, I'm unable to get the old dev-python/django-registration-1.0 to work with >dev-python/django-1.4 (1.4 version is now masked because of security vulnerabilities, and this component is needed to get the off-portage mumble-django software working).

Is there a way to transition from dev-python/django-registration to a dev-python/django-registration-redux?

Reproducible: Always
Comment 1 El Goretto 2015-03-03 16:32:44 UTC
I made a typo: I was previously using dev-python/django-1.5.10 (this one has been masked), not 1.4 (and I can't go back to 1.4 for crypto related changes (credentials storage) between 1.4 and 1.5, if I remember correctly).
Comment 2 El Goretto 2015-03-11 13:42:42 UTC
Created attachment 398652 [details]
ebuild draft from an unskilled guy - using django-registration-redux code

I just modified PYTHON_COMPAT (added a bunch of python 3.X targets) and SRC_URI (use the released code from django-registration-redux) from the original dev-python/django-registration-1.0 ebuild.
As a result, keyword is not "right" (amd64 and not ~amd64).

As far as I can tell, I can run mumble-django again with a recent with dev-python/django-1.7.x, which is the point of this bug report. As for python 3.x support, I can't validate this, because mumble-django seems not ready for python 3.x itself (syntax error with uwsgi & python plugin 3.3, not with python plugin 2.7).

Sticking to the original name may be nice (-redux or no -redux), but I'm no django dev, so I wouldn't trust myself on this :)
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-03-15 13:31:01 UTC
eeer what is mumble-django?

So https://github.com/macropin/django-registration is actually a maintained version under the old name despite actually being django-registration-redux???

It appears this can be continued under the same name, this new repo being a drop in replacement. 

HOMEPAGE="https://github.com/macropin/django-registration http://pypi.python.org/pypi/django-registration"
would do it.

The ebuild needs some tidying but that's trivial. I can 'bump' this if desired or warranted.
Comment 4 El Goretto 2015-03-17 11:23:11 UTC
(In reply to Ian Delaney from comment #3)
> eeer what is mumble-django?
Description (more there: http://wiki.mumble.info/wiki/Mumble-Django):
"Mumble-Django is a Murmur web interface application for Django that configures a Mumble server. etc." 
Project page: https://bitbucket.org/Svedrin/mumble-django/wiki/Home

> So https://github.com/macropin/django-registration is actually a maintained
> version under the old name despite actually being
> django-registration-redux???
Seems so.

> It appears this can be continued under the same name, this new repo being a
> drop in replacement. 
> 
> HOMEPAGE="https://github.com/macropin/django-registration
> http://pypi.python.org/pypi/django-registration"
> would do it.
Exactly.

> The ebuild needs some tidying but that's trivial. I can 'bump' this if
> desired or warranted.
Desired, yes, as the former django-registration source code is not maintened anymore and will be useless soon (not supporting "recent" django or python).

I can't says more, being a "simple end user" on the python and django front :).
Comment 5 Michael Weber (RETIRED) gentoo-dev 2015-07-29 08:20:20 UTC
I needed this version for as dev-python/south free version of nsupdate-info.

I've added it to my overlay (layman -a xmw) at 
https://gitweb.gentoo.org/dev/xmw.git/ as django-registration-redux
Comment 6 Adam Feldman gentoo-dev 2017-06-11 07:25:05 UTC
Looks like it has been picked back up by the original maintainer at a new location, and is being actively developed.  Here is a patch to new homepage (pypi source is the same) and an EAPI bump.  Pretty simple change:

--- django-registration-1.0.ebuild      2017-03-04 05:48:55.334662304 -0500
+++ django-registration-2.2.ebuild      2017-06-11 03:13:46.245292827 -0400
@@ -1,14 +1,14 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2

-EAPI=5
+EAPI=6

-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )

 inherit distutils-r1

 DESCRIPTION="An extensible user-registration application for Django"
-HOMEPAGE="https://www.bitbucket.org/ubernostrum/django-registration/wiki/ https://pypi.python.org/pypi/django-registration"
+HOMEPAGE="https://github.com/ubernostrum/django-registration https://pypi.python.org/pypi/django-registration"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

 LICENSE="BSD"
@@ -16,5 +16,5 @@
 KEYWORDS="amd64"
 IUSE=""

-DEPEND="dev-python/django[${PYTHON_USEDEP}]"
+DEPEND=">=dev-python/django-1.8[${PYTHON_USEDEP}]"
Comment 7 El Goretto 2018-01-10 14:06:00 UTC
Thank you for the update, NP-Hardass.

Sadly, meanwhile I moved away from the software stack requiring dev-python/django-registration, so I can't test this new-old dev-python/django-registration-2.2.

I could close this issue as the original concern (unmaintained code) is not true, or do you prefer to wait for a bumped django-registration ebuild to hit portage first?

Anyway, thank you all for your continued help on this.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-21 19:16:09 UTC
Package removed.