forked from pool/python-Django
Accepting request 254796 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/254796 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=7
This commit is contained in:
parent
f6a4e2e2ea
commit
a3aa82338e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:36940268c087fede32d3f5887cce9af9e5d27962a0c405aacafc2a3cc1f755c5
|
|
||||||
size 6633768
|
|
65
Django-1.7.checksum.txt
Normal file
65
Django-1.7.checksum.txt
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA512
|
||||||
|
|
||||||
|
This file contains MD5, SHA1 and SHA256 checksums for the source-code
|
||||||
|
tarball of Django 1.7, released September 2, 2014.
|
||||||
|
|
||||||
|
To use this file, you will need a working install of PGP or other
|
||||||
|
compatible public-key encryption software. You will also need to have
|
||||||
|
the Django release manager's public key in your keyring; this key has
|
||||||
|
the ID ``0x2D9266A6808FE067`` and can be imported from the MIT
|
||||||
|
keyserver. For example, if using the open-source GNU Privacy Guard
|
||||||
|
implementation of PGP::
|
||||||
|
|
||||||
|
gpg --keyserver pgp.mit.edu --recv-key 0x2D9266A6808FE067
|
||||||
|
|
||||||
|
Once the key is imported, verify this file::
|
||||||
|
|
||||||
|
gpg --verify <<THIS FILENAME>>
|
||||||
|
|
||||||
|
Once you have verified this file, you can use normal MD5 and SHA1
|
||||||
|
checksumming applications to generate the checksums of the Django
|
||||||
|
package and compare them to the checksums listed below.
|
||||||
|
|
||||||
|
|
||||||
|
Release package:
|
||||||
|
================
|
||||||
|
|
||||||
|
Django 1.7 (tar.gz): https://www.djangoproject.com/m/releases/1.7/Django-1.7.tar.gz
|
||||||
|
Django 1.7 (.whl): https://www.djangoproject.com/m/releases/1.7/Django-1.7-py2.py3-none-any.whl
|
||||||
|
|
||||||
|
|
||||||
|
MD5 checksums:
|
||||||
|
==============
|
||||||
|
|
||||||
|
MD5(Django-1.7.tar.gz)= 03edab6828119aa9b32b2252d25eb38d
|
||||||
|
MD5(Django-1.7-py2.py3-none-any.whl)= 15efe093b40d058acf24682c31e7b24c
|
||||||
|
|
||||||
|
SHA1 checksums:
|
||||||
|
===============
|
||||||
|
|
||||||
|
SHA1(Django-1.7.tar.gz)= 577b746814ebf33f0fd508090fbea8115ae234e4
|
||||||
|
SHA1(Django-1.7-py2.py3-none-any.whl)= 82169be1251bb97c4283b672bec53a6b6005855d
|
||||||
|
|
||||||
|
SHA256 checksums:
|
||||||
|
=================
|
||||||
|
|
||||||
|
SHA256(Django-1.7.tar.gz)= 33f781f17f145f79ee8e0b8d753498e0e0188f0b53b2accad4045d623422d5e1
|
||||||
|
SHA256(Django-1.7-py2.py3-none-any.whl)= 009ddda445c5750c1a8392979fbd28f3e55de6e43310cd316199837065dff559
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1.4.14 (Darwin)
|
||||||
|
|
||||||
|
iQIcBAEBCgAGBQJUBjLRAAoJEC2SZqaAj+Bne1gP/jlsNV2r4HFEhsqTLna8cP7L
|
||||||
|
0EacEihYPGWTjUvYBbZz+jajJ1hGyfwOtrv8ic+G/z4C8f+L1QietWzJKEkyq/oK
|
||||||
|
K/it6oqW8QxEpDCgITJTgzk3CPLZKWLXdI33a5yDaejKv5tooWBau1kkic8es+4P
|
||||||
|
0ZXwG2f7eOb6KK7N9QReWnFh+OOmWHJHU+0ppIEKeT3OHgonIJj7nQ6CXFSWSAV8
|
||||||
|
Koa3CQOc+aPVi5dWfJAMkewMQh4BO5tDPTdyCXp5yJmPBmd+hzIJeiYPz50dXtb4
|
||||||
|
TIllSdXmrJE9gIPAnl4IL9d6G9o5+Qy7QU0apM2jk5ypcf0kh9ojwDpx7GF0w7zy
|
||||||
|
5keH2C0DcdetS0POO4MkP+Wf+NSEVdgLByUBGID+btbbTQVahwgFLvSCEoi6EYD7
|
||||||
|
9XBQZ1FKJA9GKpVtYt9CuDxP6trYXuyzyX1L/7sfcTVYDhA8Pl+Qj1Yw8rZY7Cdv
|
||||||
|
kUQpJP2gTB8ES1QLaKTNIrRtOL/Eq454qUFyd24ewyI0WAA+vZgEau3Cv55ymp0C
|
||||||
|
qNV1KjWRpwQhyxCYO8Gp5oc6ZiksmeI9iX4nkzkXLXqsZcdbZpNMOwnp4yuVhVkE
|
||||||
|
kKbjzxZ5k5Lks4O4h5uRlTabClsNbS4yYB5FiwNBpUrmmQkwD8N30ShI+dV/6wbg
|
||||||
|
bUyTEqVKCLHjbuhGEyeg
|
||||||
|
=xhxa
|
||||||
|
-----END PGP SIGNATURE-----
|
3
Django-1.7.tar.gz
Normal file
3
Django-1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:33f781f17f145f79ee8e0b8d753498e0e0188f0b53b2accad4045d623422d5e1
|
||||||
|
size 7486550
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 24 08:30:00 UTC 2014 - aplanas@suse.com
|
||||||
|
|
||||||
|
- Update to Django 1.7
|
||||||
|
|
||||||
|
* A new built-in database migration system. Notes on upgrading from
|
||||||
|
South (a popular third*party application providing migration
|
||||||
|
functionality) are also available.
|
||||||
|
* A refactored concept of Django applications. Django applications
|
||||||
|
are no longer tied to the existence of a models files, and can now
|
||||||
|
specify both configuration data and code to be executed as Django
|
||||||
|
starts up.
|
||||||
|
* Improvements to the model Field API to support migrations and, in
|
||||||
|
the future, to enable easy addition of composite-key support to
|
||||||
|
Django's ORM.
|
||||||
|
* Improvements for custom Manager and QuerySet classes, allowing
|
||||||
|
reverse relationship traversal to specify the Manager to use, and
|
||||||
|
creation of a Manager from a custom QuerySet class.
|
||||||
|
* An extensible system check framework which can assist developers
|
||||||
|
in detecting and diagnosing errors.
|
||||||
|
|
||||||
|
Please refer to the release notes for all details and migration
|
||||||
|
instructions:
|
||||||
|
https://docs.djangoproject.com/en/1.7/releases/1.7/
|
||||||
|
|
||||||
|
- Added python-setuptools as a BuildRequires.
|
||||||
|
|
||||||
|
- Fixed Source URL from Django Project site.
|
||||||
|
|
||||||
|
- Reordered sources.
|
||||||
|
|
||||||
|
- Fixed deduplication to avoid wrong mtimes in pyc files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 31 16:55:11 UTC 2014 - dimstar@opensuse.org
|
Thu Jul 31 16:55:11 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -17,16 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-Django
|
Name: python-Django
|
||||||
Version: 1.6.5
|
Version: 1.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A high-level Python Web framework
|
Summary: A high-level Python Web framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://www.djangoproject.com
|
Url: http://www.djangoproject.com
|
||||||
Source: Django-%{version}.tar.gz
|
Source: https://www.djangoproject.com/m/releases/1.7/Django-%{version}.tar.gz
|
||||||
Source1: python-Django-rpmlintrc
|
Source1: https://www.djangoproject.com/m/pgp/Django-%{version}.checksum.txt
|
||||||
|
Source99: python-Django-rpmlintrc
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-setuptools
|
||||||
Requires: python-Pillow
|
Requires: python-Pillow
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@ -55,17 +57,25 @@ python setup.py build
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
install -D -m 0644 extras/django_bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion-%{py_ver}.sh
|
install -D -m 0644 extras/django_bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion-%{py_ver}.sh
|
||||||
|
|
||||||
|
mv %{buildroot}/%{_bindir}/django-admin{,-%{py_ver}}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/django-admin.py
|
touch %{buildroot}%{_sysconfdir}/alternatives/django-admin.py
|
||||||
ln -sf %{_sysconfdir}/alternatives/django-admin.py %{buildroot}/%{_bindir}/django-admin.py
|
ln -sf %{_sysconfdir}/alternatives/django-admin.py %{buildroot}/%{_bindir}/django-admin.py
|
||||||
|
touch %{buildroot}%{_sysconfdir}/alternatives/django-admin
|
||||||
|
ln -sf %{_sysconfdir}/alternatives/django-admin %{buildroot}/%{_bindir}/django-admin
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/django_bash_completion.sh
|
touch %{buildroot}%{_sysconfdir}/alternatives/django_bash_completion.sh
|
||||||
ln -sf %{_sysconfdir}/alternatives/django_bash_completion.sh %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
|
ln -sf %{_sysconfdir}/alternatives/django_bash_completion.sh %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
|
||||||
|
|
||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
|
# Deduplicating files can generate a RPMLINT warning for pyc mtime
|
||||||
|
cd %{buildroot}%{python_sitelib}
|
||||||
|
python -m compileall -d %{python_sitelib} django/conf/locale/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives \
|
update-alternatives \
|
||||||
--install %{_bindir}/django-admin.py django-admin.py %{_bindir}/django-admin.py-%{py_ver} 20 \
|
--install %{_bindir}/django-admin.py django-admin.py %{_bindir}/django-admin.py-%{py_ver} 20 \
|
||||||
|
--slave %{_bindir}/django-admin django-admin %{_bindir}/django-admin-%{py_ver} \
|
||||||
--slave %{_sysconfdir}/bash_completion.d/django_bash_completion.sh django_bash_completion.sh %{_sysconfdir}/bash_completion.d/django_bash_completion-%{py_ver}.sh
|
--slave %{_sysconfdir}/bash_completion.d/django_bash_completion.sh django_bash_completion.sh %{_sysconfdir}/bash_completion.d/django_bash_completion-%{py_ver}.sh
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -76,8 +86,11 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS LICENSE README.rst
|
%doc AUTHORS LICENSE README.rst
|
||||||
|
%{_bindir}/django-admin
|
||||||
|
%{_bindir}/django-admin-%{py_ver}
|
||||||
%{_bindir}/django-admin.py
|
%{_bindir}/django-admin.py
|
||||||
%{_bindir}/django-admin.py-%{py_ver}
|
%{_bindir}/django-admin.py-%{py_ver}
|
||||||
|
%ghost %{_sysconfdir}/alternatives/django-admin
|
||||||
%ghost %{_sysconfdir}/alternatives/django-admin.py
|
%ghost %{_sysconfdir}/alternatives/django-admin.py
|
||||||
%{python_sitelib}/django
|
%{python_sitelib}/django
|
||||||
%{python_sitelib}/Django-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/Django-%{version}-py%{py_ver}.egg-info
|
||||||
|
Loading…
Reference in New Issue
Block a user