pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django-treebeard py-django-treebeard: updated t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f70c46fba8fa
branches:  trunk
changeset: 448985:f70c46fba8fa
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Mar 19 09:09:50 2021 +0000

description:
py-django-treebeard: updated to 4.5.1

Release 4.5.1

Removed unnecessary default in MP's depth field.


Release 4.5

Add support for custom primary key fields with custom names.
Add support for Python 3.9.
Add support for MSSQL 2019.
Add Code of conduct
Removed outdated Sqlite workaround code
Remove last remains of Python 2.7 code
Use Pytest-django and fixtures for testing

diffstat:

 www/py-django-treebeard/Makefile               |   4 +-
 www/py-django-treebeard/distinfo               |  12 +++---
 www/py-django-treebeard/patches/patch-setup.py |  40 ++++++++-----------------
 3 files changed, 21 insertions(+), 35 deletions(-)

diffs (75 lines):

diff -r e21f88f84330 -r f70c46fba8fa www/py-django-treebeard/Makefile
--- a/www/py-django-treebeard/Makefile  Fri Mar 19 08:53:10 2021 +0000
+++ b/www/py-django-treebeard/Makefile  Fri Mar 19 09:09:50 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2021/01/30 07:23:29 mef Exp $
+# $NetBSD: Makefile,v 1.14 2021/03/19 09:09:50 adam Exp $
 
-DISTNAME=      django-treebeard-4.4
+DISTNAME=      django-treebeard-4.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-treebeard/}
diff -r e21f88f84330 -r f70c46fba8fa www/py-django-treebeard/distinfo
--- a/www/py-django-treebeard/distinfo  Fri Mar 19 08:53:10 2021 +0000
+++ b/www/py-django-treebeard/distinfo  Fri Mar 19 09:09:50 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2021/01/30 07:23:29 mef Exp $
+$NetBSD: distinfo,v 1.14 2021/03/19 09:09:50 adam Exp $
 
-SHA1 (django-treebeard-4.4.tar.gz) = f735ae02fd72a154818df01c997f0ad65e3877d3
-RMD160 (django-treebeard-4.4.tar.gz) = b1f2d629819d5fa05d8c7c6079bb5c8b2b4a8692
-SHA512 (django-treebeard-4.4.tar.gz) = f2513553ac789f1e8a95629a414aa40243e6ae6259f5fe5a73911184e829e8603c7421103a6b3d5890ef2dabcbad3b23775f5ea73fd21835f457e961b5887081
-Size (django-treebeard-4.4.tar.gz) = 310658 bytes
-SHA1 (patch-setup.py) = d79034c10d7522bc65e2571c53ef9e3503a65583
+SHA1 (django-treebeard-4.5.1.tar.gz) = abf75eb76bda8a68e9f93d926a9b99ce57883060
+RMD160 (django-treebeard-4.5.1.tar.gz) = 31493a02ba9191f1e539181021639973f36d3e2a
+SHA512 (django-treebeard-4.5.1.tar.gz) = 27fa6ad50b25d0f9dd7dacddb36ec7165fa49abb26f17b744df3ba90c681107488f812e617d233dd54f86381f55986bd487687411a15dd90f911bc0cb3d8369e
+Size (django-treebeard-4.5.1.tar.gz) = 784384 bytes
+SHA1 (patch-setup.py) = a1b322c2cce8f180906f6f35d24ea57a31870214
diff -r e21f88f84330 -r f70c46fba8fa www/py-django-treebeard/patches/patch-setup.py
--- a/www/py-django-treebeard/patches/patch-setup.py    Fri Mar 19 08:53:10 2021 +0000
+++ b/www/py-django-treebeard/patches/patch-setup.py    Fri Mar 19 09:09:50 2021 +0000
@@ -1,29 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2021/01/30 07:23:29 mef Exp $
-
-Fix build for py36:
+$NetBSD: patch-setup.py,v 1.2 2021/03/19 09:09:50 adam Exp $
 
-raceback (most recent call last):
-  File "setup.py", line 10, in <module>
-    long_description = fh.read()
-  File "/usr/pkg/lib/python3.6/encodings/ascii.py", line 26, in decode
-    return codecs.ascii_decode(input, self.errors)[0]
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 175: ordinal not in range(128)
-*** Error code 1
+Fix encoding error for Python 3.6.
 
---- setup.py.orig      2021-01-13 18:18:36.000000000 +0900
-+++ setup.py   2021-01-30 16:15:37.800803620 +0900
-@@ -1,12 +1,13 @@
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import os
-+import sys
- from setuptools import setup, find_packages
- from treebeard import __version__
- import codecs
- 
- 
--with open('README.md') as fh:
-+with open("README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as fh:
-     long_description = fh.read()
- 
- 
+--- setup.py.orig      2021-02-15 03:07:11.000000000 +0000
++++ setup.py
+@@ -3,7 +3,7 @@ from setuptools import setup, find_packa
+ from treebeard import __version__
+ 
+ 
+-with open('README.md') as fh:
++with open('README.md', encoding='utf-8') as fh:
+     long_description = fh.read()
+ 
+ 



Home | Main Index | Thread Index | Old Index