Bug 252974 - www/py-django-classy-tags: Installs the test suite into PYTHON_SITELIBDIR at top-level
Summary: www/py-django-classy-tags: Installs the test suite into PYTHON_SITELIBDIR at ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 12:52 UTC by Kai Knoblich
Modified: 2021-01-25 15:59 UTC (History)
1 user (show)

See Also:
cs: maintainer-feedback+
kai: merge-quarterly+


Attachments
py-django-classy-tags-omit-installation-of-test-suite.patch (1.55 KB, patch)
2021-01-24 12:52 UTC, Kai Knoblich
cs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2021-01-24 12:52:12 UTC
Created attachment 221873 [details]
py-django-classy-tags-omit-installation-of-test-suite.patch

Hi,

with the 2.0.0 release of www/py-django-classy-tags the test suite is installed into Python's site-lib directory at top-level.

The attached patch fixes that by omitting the "tests" directory from installation.

This change should also be merged into the 2020Q1 branch.

QA:
~~~
- poudriere -> OK (11.4 amd64 for each py36, py37, py38 and py39 flavor)
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-01-25 15:55:54 UTC
A commit references this bug:

Author: kai
Date: Mon Jan 25 15:55:29 UTC 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

Changes:
  head/www/py-django-classy-tags/Makefile
  head/www/py-django-classy-tags/files/
  head/www/py-django-classy-tags/files/patch-setup.py
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-01-25 15:57:55 UTC
A commit references this bug:

Author: kai
Date: Mon Jan 25 15:57:04 UTC 2021
New revision: 562573
URL: https://svnweb.freebsd.org/changeset/ports/562573

Log:
  MFH: r562572

  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)

  Approved by:	ports-secteam (implicit, packaging fix blanket)

Changes:
_U  branches/2021Q1/
  branches/2021Q1/www/py-django-classy-tags/Makefile
  branches/2021Q1/www/py-django-classy-tags/files/
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2021-01-25 15:59:00 UTC
Committed to /head and 2020Q1 branches, thank you for the quick review and approval!