summaryrefslogtreecommitdiff
path: root/dev-python/django-baker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/django-baker
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/django-baker')
-rw-r--r--dev-python/django-baker/Manifest5
-rw-r--r--dev-python/django-baker/django-baker-0.11-r2.ebuild22
-rw-r--r--dev-python/django-baker/files/django-baker-0.11-py3-backport.patch50
-rw-r--r--dev-python/django-baker/files/django-baker-0.11-py3-iter.patch42
-rw-r--r--dev-python/django-baker/metadata.xml12
5 files changed, 0 insertions, 131 deletions
diff --git a/dev-python/django-baker/Manifest b/dev-python/django-baker/Manifest
deleted file mode 100644
index 1584facb32d4..000000000000
--- a/dev-python/django-baker/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX django-baker-0.11-py3-backport.patch 2127 BLAKE2B 07240892edb97a0f7b13aa1474bd6650ba573537f5b8e892cef6ad00593cccb7add8bc9a08553c588e0eb0a1ffa884b9aaaa1b3edcad3a6d8f83b16fa9b02b2e SHA512 bc5785df9258579b3f583f4573e8907f5794f2a09576e91f770fe2e19b74043db1068c493cf0c0d7f448a4d1cbc7774187b474dd3d3c1cf80a1a68e2d4d77c54
-AUX django-baker-0.11-py3-iter.patch 1820 BLAKE2B 61ee9af5d2691c7b4cc545a9c9db07811311a23782f6d0577235bdc0cd940cb88d943b4433806dbb06a88315d8d1e89275500b576c39fe6eb22ce0db194dfc61 SHA512 d20fbb4ae9de91c3af36a902a5600f3f4dbaae82e7c33285f157fc3a40cc416e3fd2ce0a453e6138d7381fdbe1834694eacb2214a49b9528dc0c8b26e5ac5f47
-DIST django-baker-0.11.tar.gz 14920 BLAKE2B 532a0a528cce8468b989d4fe876bea05ce11bbfaa39e15d23f730dd27329914b4c8e87e5b5c1df417939e937b2651a03d6801bbca0c3735ea1d11cdcf08a1c81 SHA512 98a64efec8a0cabe9c4091852f3dcbff95007c0ff2020b782f73ab6cc5e3d73cd52356546f1f64b55a69fefdf8f053d95d604584831cf07cb1b8037446892439
-EBUILD django-baker-0.11-r2.ebuild 568 BLAKE2B 742398fec378a48b68a636bf7d0b621c57ecb6fbdc0487a57dd905a5e74dc704be26f45ff234e9724717e40ef613724d179f9d7cf2972db040382d92aacee4ac SHA512 2ff20b82540b58005a133433d99d1a613c13f95fe4f234f57a9027af33111a393a62d7a8b20ca22f84ae8b4e6d92d7e40fc610d1c2f22daf92fa34a6a593df3e
-MISC metadata.xml 390 BLAKE2B 68a4ac0f10db2378637f420d4bc3d8d80fefebb51302c38d95611ebffb06ed816e68bc7859bd7929c8edfb3fb519d61f2e35b98372a6bc2dfc79ebc5ae9907bd SHA512 e36e22cfded440f5e241ac9ea3a4c1cc5a47155355001f5979dee66fc84618edc8c139ad7126d44a427f45e82c2fea5cc6d458ec01e6f1fad2d2c83eb94ed68c
diff --git a/dev-python/django-baker/django-baker-0.11-r2.ebuild b/dev-python/django-baker/django-baker-0.11-r2.ebuild
deleted file mode 100644
index 7afb5db2e998..000000000000
--- a/dev-python/django-baker/django-baker-0.11-r2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="Management command that generates views, forms, urls, and templates for models"
-HOMEPAGE="https://pypi.org/project/django-baker/ https://github.com/krisfields/django-baker"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-PATCHES=(
- "${FILESDIR}"/${P}-py3-backport.patch
- "${FILESDIR}"/${P}-py3-iter.patch
-)
diff --git a/dev-python/django-baker/files/django-baker-0.11-py3-backport.patch b/dev-python/django-baker/files/django-baker-0.11-py3-backport.patch
deleted file mode 100644
index b2bc42859c2f..000000000000
--- a/dev-python/django-baker/files/django-baker-0.11-py3-backport.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From baf971a58d310d6d3bfe7ddea81b33c810e3d3cf Mon Sep 17 00:00:00 2001
-From: Tim Kamanin <tim@timonweb.com>
-Date: Sat, 21 Feb 2015 18:42:45 +0100
-Subject: [PATCH] Added Python 3 support
-
----
- django_baker/bakery.py | 4 ++--
- django_baker/management/commands/bake.py | 3 ++-
- 2 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/django_baker/bakery.py b/django_baker/bakery.py
-index ff04ef3..7c0cbc2 100644
---- a/django_baker/bakery.py
-+++ b/django_baker/bakery.py
-@@ -4,7 +4,7 @@
- import re
- from django.template.loader import get_template
- from django.template import Context
--
-+from django.utils.six import iteritems
-
- class Baker(object):
- """
-@@ -16,7 +16,7 @@ def bake(self, apps_and_models):
- """
- Iterates a dictionary of apps and models and creates all the necessary files to get up and running quickly.
- """
-- for app_label, models in apps_and_models.iteritems():
-+ for app_label, models in iteritems(apps_and_models):
- model_names = {model.__name__: self.get_field_names_for_model(model) for model in models}
- self.create_directories(app_label)
- self.create_init_files(app_label, model_names.keys(), models)
-diff --git a/django_baker/management/commands/bake.py b/django_baker/management/commands/bake.py
-index e602345..f7dc16a 100644
---- a/django_baker/management/commands/bake.py
-+++ b/django_baker/management/commands/bake.py
-@@ -1,3 +1,4 @@
-+from __future__ import print_function
- from django.core.management.base import BaseCommand, CommandError
- from django.core.exceptions import ImproperlyConfigured
- from django.db.models import get_app, get_models
-@@ -51,7 +52,7 @@ def get_selected_models(self, app, app_label, model_names):
- """
- if model_names:
- try:
-- print app_label, model_names
-+ print(app_label, model_names)
- return [get_model(app_label, model_name) for model_name in model_names]
- except:
- raise CommandError("One or more of the models you entered for %s are incorrect." % app_label)
diff --git a/dev-python/django-baker/files/django-baker-0.11-py3-iter.patch b/dev-python/django-baker/files/django-baker-0.11-py3-iter.patch
deleted file mode 100644
index a2902b8f487d..000000000000
--- a/dev-python/django-baker/files/django-baker-0.11-py3-iter.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From c6c856c999cb9a9ce4ec8ecee714da7f6719019d Mon Sep 17 00:00:00 2001
-From: Matt Clement <mclement@savantgroup.com>
-Date: Tue, 3 Mar 2015 14:57:41 -0500
-Subject: [PATCH] Switch iteritems to items for Py3 compatibility
-
----
- django_baker/templates/django_baker/__init__urls | 2 +-
- django_baker/templates/django_baker/forms | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/django_baker/templates/django_baker/__init__urls b/django_baker/templates/django_baker/__init__urls
-index 1baf063..d6c9bec 100644
---- a/django_baker/templates/django_baker/__init__urls
-+++ b/django_baker/templates/django_baker/__init__urls
-@@ -1,6 +1,6 @@
- from django.conf.urls import patterns, include
-
- urlpatterns = patterns('',
--{% for model_name_slug, plural_model_name_slug in model_names_dict.iteritems %}
-+{% for model_name_slug, plural_model_name_slug in model_names_dict.items %}
- (r'^{{ plural_model_name_slug }}/', include('{{ app_label }}.urls.{{ model_name_slug }}_urls')),{% if forloop.first %} # NOQA{% endif %}{% endfor %}
- )
-diff --git a/django_baker/templates/django_baker/forms b/django_baker/templates/django_baker/forms
-index 1f55c86..a21234d 100644
---- a/django_baker/templates/django_baker/forms
-+++ b/django_baker/templates/django_baker/forms
-@@ -1,7 +1,7 @@
- from django import forms
- from .models import {{ model_names|join:", " }}
-
--{% for model_name, model_fields in model_names.iteritems %}
-+{% for model_name, model_fields in model_names.items %}
- class {{ model_name }}Form(forms.ModelForm):
-
- class Meta:
-@@ -36,4 +36,4 @@ class {{ model_name }}Form(forms.ModelForm):
- def save(self, commit=True):
- return super({{ model_name }}Form, self).save(commit)
- {% if not forloop.last %}
--{% endif %}{% endfor %}
-\ No newline at end of file
-+{% endif %}{% endfor %}
diff --git a/dev-python/django-baker/metadata.xml b/dev-python/django-baker/metadata.xml
deleted file mode 100644
index 42030f97281b..000000000000
--- a/dev-python/django-baker/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">django-baker</remote-id>
- <remote-id type="github">krisfields/django-baker</remote-id>
- </upstream>
-</pkgmetadata>