Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved django-babel into hue repo #3941

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/core/base_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ tabulate==0.8.9
trino==0.329.0
git+https://github.com/gethue/thrift.git
thrift-sasl==0.4.3
git+https://github.com/gethue/django-babel.git
django-utils-six==2.0
six==1.16.0
psutil==5.8.0
Expand All @@ -81,3 +80,4 @@ drf-spectacular[sidecar]==0.27.2
-e file://${ROOT}/desktop/core/ext-py3/djangosaml2-0.18.0
-e file://${ROOT}/desktop/core/ext-py3/pysaml2-7.3.1
-e file://${ROOT}/desktop/core/ext-py3/python-sasl-0.3.1
-e file://${ROOT}/desktop/core/ext-py3/django-babel
42 changes: 42 additions & 0 deletions desktop/core/ext-py3/django-babel/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: python
python: 3.5
sudo: false
env:
- TOX_ENV=docs
- TOX_ENV=lint
- TOX_ENV=py27-django18
- TOX_ENV=py27-django111
- TOX_ENV=py34-django18
- TOX_ENV=py34-django111
- TOX_ENV=py34-django20
- TOX_ENV=py35-django18
- TOX_ENV=py35-django111
- TOX_ENV=py35-django20
- TOX_ENV=py35-django21
- TOX_ENV=py35-django22
- TOX_ENV=py35-django30
- TOX_ENV=py35-django31
- TOX_ENV=py35-django32
matrix:
include:
- env: TOX_ENV=py36-django18
python: "3.6"
- env: TOX_ENV=py36-django111
python: "3.6"
- env: TOX_ENV=py36-django20
python: "3.6"
- env: TOX_ENV=py36-django21
python: "3.6"
- env: TOX_ENV=py36-django22
python: "3.6"
- env: TOX_ENV=py36-django30
python: "3.6"
- env: TOX_ENV=py36-django31
python: "3.6"
- env: TOX_ENV=py36-django32
python: "3.6"
- env: TOX_ENV=py36-djangomaster
python: "3.6"
install: pip install tox
script: tox -e $TOX_ENV
cache: pip
16 changes: 16 additions & 0 deletions desktop/core/ext-py3/django-babel/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
django-babel is written and maintained by the django-babel team and various
contributors:

Contributors:

- Christopher Lenz <cmlenz@gmail.com>
- Felix Schwarz <felix.schwarz@oss.schwarz.eu>
- Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
- Ramiro Morales <cramm0@gmail.com>
- Thomas Grainger <tagrain@gmail.com>
- Christopher Grebs <cg@webshox.org>


django-babel was previously developed under the Copyright of Edgewall Software.
The following copyright notice holds true for releases before 2013: "Copyright
(c) 2007 - 2011 by Edgewall Software"
114 changes: 114 additions & 0 deletions desktop/core/ext-py3/django-babel/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
Changelog
=========

0.6.3 (unreleased)
------------------

- Nothing changed yet.


0.6.2 (2017-12-18)
------------------

- compatibility with Django 2.0 added


0.6.1 (2017-12-18)
------------------

* compatibility with Django 1.11 added

0.6.0 - 2017-04-25
------------------

* compatibility with unsupported Django versions (<1.8) is dropped
* compatibility with Django 1.10+ middlewares was added

0.5.1 - 2016-03-30
------------------

* make imports absolute in babel templatetags
* strip quotes from translations via _()
* fix links in docs
* Add support for "trimmed" blocktrans content

0.5.0 - 2016-02-29
------------------

* Add compatibility for Django-1.9

0.4.0 - 2015-04-22
------------------

* Add compatibility for Django 1.8
* Add compatibility for latest django master
* Various python 3 fixes


0.3.9 - 2014-12-24
------------------

* Fix dependencies on Django/Babel to use lower-case egg names.

0.3.8 - 2014-10-14
------------------

* Fix old reference to `babeldjango` module in entry points.

0.3.7 - 2014-10-14
------------------

* Fix Python 3.x compatibility in `babel makemessages` command.

0.3.6 - 2014-10-05
------------------

* Django 1.7 compatibility


0.3.5 - 2014-09-10
------------------

* Create .po and .pot files if not existing, plus it's specific base directories.


0.3.4 - 2014-05-25
------------------

* Fixed django compatibility

0.3.3 - 2014-04-22
------------------

* Fixed release builds


0.3.2 - 2014-04-22
------------------

* Initial testing infrastructure
* Add management command `babel` with `makemessages` and `compilemessages`
labels. Mimics django's `makemessages` and `compilemessages` commands.
* Various unicode fixes


0.3.1 - 2013-12-11
------------------

* fix relative import in template tags


0.3.0 - 2013-12-11
------------------

* Rename package to django_babel


0.2.3 - 2013-12-11
------------------

* Rename package on PyPI
* Use GitHub as source control


.. _`master`: https://github.com/python-babel/django-babel
28 changes: 28 additions & 0 deletions desktop/core/ext-py3/django-babel/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (C) 2013-2014 django-babel Team
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. The name of the author may not be used to endorse or promote
products derived from this software without specific prior
written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6 changes: 6 additions & 0 deletions desktop/core/ext-py3/django-babel/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include CHANGELOG.rst README.rst COPYING
recursive-include tests *
recursive-include docs *
global-exclude *.pyc
global-exclude *.pyo
prune docs/_build
Loading
Loading