Page MenuHomeFreeBSD

www/pelican: Prefix according to Python conventions
ClosedPublic

Authored by koobs on Aug 7 2015, 5:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 8:01 AM
Unknown Object (File)
Mar 5 2024, 6:26 PM
Unknown Object (File)
Mar 5 2024, 6:19 PM
Unknown Object (File)
Mar 5 2024, 6:19 PM
Unknown Object (File)
Dec 27 2023, 11:35 PM
Unknown Object (File)
Dec 27 2023, 11:31 PM
Unknown Object (File)
Dec 27 2023, 11:31 PM
Unknown Object (File)
Dec 27 2023, 6:58 PM
Subscribers

Details

Summary

Proposed commit log:

www/pelican: Prefix according to Python conventions

- Rename (move) according to Python package naming conventions [1]
- Switch temporarily to GITHUB for source files until missing content
  files for the test suite is merged/fixed [2]
- Add python (virtual category) to CATEGORIES
- Add LICENSE_FILE
- Add OPTIONS for Markdown and Syntax Highlighting, they are OPTION'al 
  features
- Add MARKDOWN and SYNTAX to OPTIONS_DEFAULT (for package convenience).
- Use OPTIONS helpers for TESTS option.
- Refactor TEST_DEPENDS so it only declares tests_require, moving the   
  RUN_DEPENDS assignment to TESTS_BUILD_DEPENDS.
- Rename TEST option to TESTS to match other Python ports, and tweak 
  description to canonicalize
- Deprecate OPTIONSFILE override (no longer necessary)
- Canonicalize regression-test target, so it gets the setuptools wrapped
  setup.py arguments for proper 'test' command support.
- Re-order makefile sections (DEPENDS|USES|OPTIONS)
  
While here:

- Add MOVED entry
- Update www/Makefile

[1] https://wiki.freebsd.org/Python/PortsPolicy
[2] https://github.com/getpelican/pelican/pull/1793

Approved by: maintainer
DiffRev: DXXX
Test Plan

portlint: looks fine.
porttest: OK (poudriere)
unittest: Ran 170 tests in 6.668s - FAILED (errors=3, skipped=18)

test_basic_generation_works ... ERROR
test_custom_generation_works ... ERROR
test_custom_locale_generation_works ... ERROR

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

koobs retitled this revision from to www/py-pelican: Rename and update to 3.6.2.
koobs updated this object.
koobs edited the test plan for this revision. (Show Details)
koobs added a reviewer: jlaffaye.
koobs added a subscriber: Python.

Merge head (r394416, update to 3.6.3)

koobs retitled this revision from www/py-pelican: Rename and update to 3.6.2 to www/py-pelican: Rename according to conventions.Aug 27 2015, 4:15 AM
koobs updated this object.

I thought the py prefix is required for python package, not for executable written in python.

I'd prefer the SYNTAX option to be on by default for the package.

I thought the py prefix is required for python package, not for executable written in python.

That's been the case in the past, but there have been and will continue to be naming conflicts unless all python ports (particularly those listed in PyPI/CHEESESHOP) are py- prefixed, see:

https://wiki.freebsd.org/Python/PortsPolicy#Naming

I'd prefer the SYNTAX option to be on by default for the package.

Done, I'll update the diff shortly

koobs edited edge metadata.

Mark the SYNTAX option as a default option

koobs retitled this revision from www/py-pelican: Rename according to conventions to www/pelican: Prefix according to Python conventions.Aug 27 2015, 8:09 AM
koobs updated this object.
jlaffaye edited edge metadata.

Please commit :)

This revision is now accepted and ready to land.Aug 27 2015, 6:12 PM
This revision was automatically updated to reflect the committed changes.