Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 15:55:28 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562572 - in head/www/py-django-classy-tags: . files
Message-ID:  <202101251555.10PFtSsX071973@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Mon Jan 25 15:55:28 2021
New Revision: 562572
URL: https://svnweb.freebsd.org/changeset/ports/562572

Log:
  www/py-django-classy-tags: Prevent installation of test suite at top-level
  
  * Add a workaround to prevent the installation of the test suite into
    Python's site-lib directory at top-level.
  
  * Bump PORTREVISION due changed package contents.
  
  PR:		252974
  Approved by:	cs (maintainer)
  MFH:		2021Q1

Added:
  head/www/py-django-classy-tags/files/
  head/www/py-django-classy-tags/files/patch-setup.py   (contents, props changed)
Modified:
  head/www/py-django-classy-tags/Makefile

Modified: head/www/py-django-classy-tags/Makefile
==============================================================================
--- head/www/py-django-classy-tags/Makefile	Mon Jan 25 15:50:42 2021	(r562571)
+++ head/www/py-django-classy-tags/Makefile	Mon Jan 25 15:55:28 2021	(r562572)
@@ -3,6 +3,7 @@
 
 PORTNAME=	django-classy-tags
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/www/py-django-classy-tags/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-classy-tags/files/patch-setup.py	Mon Jan 25 15:55:28 2021	(r562572)
@@ -0,0 +1,16 @@
+Avoid the installation of the test suite in the top-level directory
+of ${PYTHON_SITELIBDIR}.
+
+See also: https://github.com/django-cms/django-classy-tags/issues/58
+
+--- setup.py.orig	2020-08-26 08:49:51 UTC
++++ setup.py
+@@ -41,7 +41,7 @@ setup(
+     license='BSD',
+     description='Class based template tags for Django',
+     long_description=open('README.rst').read(),
+-    packages=find_packages(),
++    packages=find_packages(exclude=("tests",)),
+     include_package_data=True,
+     zip_safe=False,
+     install_requires=REQUIREMENTS,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101251555.10PFtSsX071973>