Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 114821
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: manny15 <windowsucks2000@netscape.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
django-0.90.ebuild django-0.90.ebuild (New Ebuild) text/plain manny15 2005-12-07 18:31 0000 582 bytes Details
django-0.90.ebuild django-0.90.ebuild (Update) text/plain manny15 2005-12-08 15:10 0000 687 bytes Details
django-0.91.ebuild django-0.91.ebuild text/plain Marti Raudsepp 2006-01-28 12:58 0000 714 bytes Details
django-0.91-r1.ebuild django-0.91.ebuild (Update) text/plain Jochen Schalanda 2006-03-27 11:44 0000 898 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114821 depends on: Show dependency tree
Bug 114821 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-07 18:29 0000
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design.

------- Comment #1 From manny15 2005-12-07 18:31:43 0000 -------
Created an attachment (id=74274) [details]
django-0.90.ebuild (New Ebuild)

Django 0.90 initial ebuild.
Note: Requires unmasking of dev-python/setuptools.

------- Comment #2 From manny15 2005-12-08 15:10:23 0000 -------
Created an attachment (id=74350) [details]
django-0.90.ebuild (Update)

Added sqlite and postgres USE flags.

------- Comment #3 From Marti Raudsepp 2006-01-28 12:58:00 0000 -------
Created an attachment (id=78371) [details]
django-0.91.ebuild

This needs inclusion *quick*!

The old ebuild worked with Django 0.91 with a simple version bump, but I
decided to spiff it up a bit:

* MY_PN="${PN/d/D}" - this seems to be the preferred way to set MY_PN
* Removed the redundant src_compile section; distutils_src_install is implied
by 'inherit distutils' in the src_install section. This was done twice by the
ebuild.
* Added all ~arches that Python compiles on, since Django is purely implemented
in Python.

------- Comment #4 From MATSUI Tetsushi 2006-03-01 04:25:44 0000 -------
I've just took a look at the ebuild.
There are some questions I would like to ask:
1. isn't it necessary to include 'dev-db/sqlite' in RDEPEND for sqlite flag,
   and '<dev-python/psycopg-2' for postgres?
2. is '>=dev-lang/python-2.4.0' OK, instead of '>=dev-lang/python-2.4'?
3. isn't it breaking the policy of gentoo by marking all ~arches?
   I referred: http://dev.gentoo.org/~plasmaroo/devmanual/keywording/ .
4. why has not this bug been assigned to python herd?

------- Comment #5 From Marti Raudsepp 2006-03-01 05:52:49 0000 -------
(In reply to comment #4)
> There are some questions I would like to ask:
> 1. isn't it necessary to include 'dev-db/sqlite' in RDEPEND for sqlite flag,
>    and '<dev-python/psycopg-2' for postgres?
The pysqlite ebuild already depends on sqlite. I think It makes more sense to
depend only on the pysqlite package rather than add the redundant sqlite
dependency - this is how it's done in other packages as well.

You're probably right about psycopg, however. I haven't tried Postgre myself
yet, so I wouldn't know.

> 2. is '>=dev-lang/python-2.4.0' OK, instead of '>=dev-lang/python-2.4'?
This should probably be changed.

> 3. isn't it breaking the policy of gentoo by marking all ~arches?
>    I referred: http://dev.gentoo.org/~plasmaroo/devmanual/keywording/ .
I just marked all the ~arches that Python is marked stable on. I don't know if
this is OK, but it made sense to me since Django is entirely implemented in
Python and therefore should work everywhere where Python does.

On a second thought, it should be limited to "~alpha ~amd64 ~ppc ~sparc ~x86"
as that's what the setuptools dependency works on.

> 4. why has not this bug been assigned to python herd?
I don't know if there are any reasons, but bug wranglers apparently didn't.
Should it?

------- Comment #6 From MATSUI Tetsushi 2006-03-01 07:02:38 0000 -------
(In reply to comment #5)
> The pysqlite ebuild already depends on sqlite. I think It makes more sense to
> depend only on the pysqlite package rather than add the redundant sqlite
> dependency - this is how it's done in other packages as well.
> 
> You're probably right about psycopg, however. I haven't tried Postgre myself
> yet, so I wouldn't know.

I don't much care about db, but at least I think the dependencies are logically
parallel and ebuild should reflect the parallelism.

> I just marked all the ~arches that Python is marked stable on. I don't know if
> this is OK, but it made sense to me since Django is entirely implemented in
> Python and therefore should work everywhere where Python does.
> 
> On a second thought, it should be limited to "~alpha ~amd64 ~ppc ~sparc ~x86"
> as that's what the setuptools dependency works on.

Well, I'm not a Gentoo developer and I have no incentive to persuade you to 
follow the guideline.  I guess they will be shoot out later, anyway.

> I don't know if there are any reasons, but bug wranglers apparently didn't.
> Should it?

rails is of dev-ruby, then who does guess django should not be of dev-python?

I add python@gentoo.org to CC with this post.

------- Comment #7 From Jakub Moc (RETIRED) 2006-03-08 03:20:20 0000 -------
*** Bug 125456 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jochen Schalanda 2006-03-27 11:44:41 0000 -------
Created an attachment (id=83251) [details]
django-0.91.ebuild (Update)

Added mysql USE-Flag "mysql" and dependency to dev-python/mysql-python. Also
added src_install-voodoo, because original ebuild didn't build on my machine.

------- Comment #9 From Lukasz Strzygowski (RETIRED) 2006-03-28 11:01:10 0000 -------
In Portage. Thank you very much!


Arch teams, please test and keyword. Some instructions:

cd Django-0.91/tests

Create settings.py; example for postgres (or see docs/tutorial01.txt):
DATABASE_ENGINE="postgresql"
DATABASE_NAME="mydb"
DATABASE_USER="lucass"

./runtests.py --settings settings

Thanks.

------- Comment #10 From Karol Wojtaszek (RETIRED) 2006-03-29 07:31:26 0000 -------
amd64 done

------- Comment #11 From nixnut 2006-04-01 09:56:10 0000 -------
ppc done

------- Comment #12 From Gustavo Zacarias (RETIRED) 2006-04-10 07:30:48 0000 -------
No sparc user asked for this and it's not a dep for anything else that's
already keyworded, so no keywording for sparc.

------- Comment #13 From Lukasz Strzygowski (RETIRED) 2006-04-30 13:49:46 0000 -------
Closing.

------- Comment #14 From Nilton Volpato 2006-05-17 19:20:04 0000 -------
django didn't installed with setuptools-0.6_alpha5. This happens:

---
>>> Install django-0.91 into /var/tmp/portage/django-0.91/image/ category dev-python
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --single-version-externally-managed not recognized
---

But this version dependency is not reflected in ebuild. Adding to depend
something like >=dev-python/setuptools-0.6_alpha11 may avoid problems for other
users.

-- Nilton

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug