devel/p5-Pod-Tests 1.20 FreeBSD
Extracts embedded tests and code examples from POD
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 18.0 KiB, 57.2 KiB installed
Description
This is a specialized POD viewer to extract embedded tests and code examples from POD. It doesn't do much more than that. pod2test does the useful work.
After creating a Pod::Tests object, you parse the POD by calling one of the available parsing methods documented below. You can call parse as many times as you'd like, all examples and tests found will stack up inside the object.
Once extracted, the tests can be built into stand-alone testing code using the build_tests() and build_examples() methods. However, it is recommended that you first look at the pod2test program before embarking on this.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Pod-Tests | 1.20 |
| OpenBSD | textproc/p5-Pod-Tests | 1.20p0 |
| NetBSD | textproc/p5-Pod-Tests | 1.20nb8 |
| DragonFly | devel/p5-Pod-Tests | 1.20 |
| MidnightBSD | devel/p5-Pod-Tests | 1.20 |
| HardenedBSD | devel/p5-Pod-Tests | 1.20 |
| GhostBSD | devel/p5-Pod-Tests | 1.20 |
Install
Binary package:
pkg install p5-Pod-Tests
From the ports tree:
cd /usr/ports/devel/p5-Pod-Tests/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Pod-Tests>0:devel/p5-Pod-Tests
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.20 | 1.20 | 1.20 | 1.20 | 1.20 |
| FreeBSD:14:quarterly | 1.20 | 1.20 | n/a | 1.20 | 1.20 |
| FreeBSD:15:latest | 1.20 | 1.20 | n/a | 1.20 | 1.20 |
| FreeBSD:15:quarterly | 1.20 | 1.20 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.20 | 1.20 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- bin/pod2test
- %%SITE_PERL%%/Pod/Tests.pm
- %%PERL5_MAN1%%/pod2test.1.gz
- %%PERL5_MAN3%%/Pod::Tests.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Pod-Tests-1.20.tar.gz | 31109 | 99b43f83acb2fb9f30e74a52ff5bddedc8d8296a204587d116f438789cc6bc5f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.