f984b508d2
Release 0.11.3 Added - Add PEP 561 `py.typed` marker file. Changed - Remove documentation and test files from wheels build. - Re-organize unit tests. Documentation - Add a warning about the usage of `.new_instances()` method in the documentation. Release 0.11.2 Fixed - Fix subunit testrunner integration is broken. - Fix: TeamCity (PyCharm) testrunner integration is broken. Infrastructure - Run tests with testtools, subunit, TeamCity, and doctest testrunners using tox. Documentation - Test flexmock API examples using doctest. - Re-add Sphinx support for generating man pages. - Fix 404 page not loading CSS and Javascript resources in documentation. - Small fixes to documentation. Release 0.11.1 Fixed - Fix Zope testrunner integration is broken. Infrastructure - Run tests with Zope testrunner using tox. Release 0.11.0 Added - Add Python 3.8, 3.9, 3.10, and 3.11 support. - Add type annotations. Changed - **BREAKING CHANGE**: Flexmock needs to be imported explicitly using `from flexmock import flexmock`. The hack that allowed flexmock to be imported directly using `import flexmock` did not work well with static analysis tools. - Many error messages have been improved. - Undocumented methods `Expectation.reset`, `Expectation.verify`, and `Expectation.match_args` that were unintentionally left public are now private methods. - Undocumented attributes in `Mock` and `Expectation` are now private. These attributes were never meant to be accessed directly. Removed - Drop Python 2.7, 3.4, 3.5 support. - Drop Pytest 4.x support. - Remove unittest2 and nose integrations. unittest2 and nose are not maintained anymore. - **BREAKING CHANGE**: Removed support for calling `once`, `twice`, `never`, and `mock` methods without parentheses. This allows code completion and static analysis to work with these methods. Fixed - Fix `should_call` is broken if called on a fake object. - Fix `and_raise` allows invalid arguments for an exception. Infrastructure - Run linters and tests using Github Actions. - Add coverage reporting using Codecov. Documentation - Add contribution documentation. - Use Mkdocs instead of Sphinx to build the documentation. |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
x11 | ||
_NetBSD-pkgdb | ||
Makefile | ||
pkglocate | ||
README.md |
pkgsrc
pkgsrc is a framework for building software for a variety of UNIX-like systems.
It produces binary packages, which can be managed with tools such as
pkgin. pkgsrc is highly configurable, supporting
building packages for an arbitrary installation prefix (the default is
/usr/pkg
), allowing multiple branches to coexist on one machine, a
build options framework, and a compiler transformation framework, among
other advanced features. Unprivileged use and installation is also supported.
pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.
Bootstrapping
To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:
cd pkgsrc/bootstrap
./bootstrap
Note that this is only for the most simple case, using pkgsrc's defaults.
Please consult bootstrap/README
and bootstrap/README.OS
for detailed
information about bootstrapping.
Building packages
cd pkgsrc/category/package-name
$PREFIX/bin/bmake install
Where $PREFIX
is where you've chosen to install packages
(typically /usr/pkg
)
On NetBSD, bmake
is simply the built-in make
tool.
To build packages in bulk, tools such as pkgtools/pbulk
and
pkgtools/pkg_comp
can be used.
Community / Troubleshooting
- Join the community IRC channel #pkgsrc @ libera.chat.
- Join the community Matrix room #pkgsrc:netbsd.org
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
Latest sources
To fetch the main CVS repository:
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
To work in the Git mirror, which is updated every few hours from CVS:
git clone https://github.com/NetBSD/pkgsrc.git
Additional links
- pkgsrc guide - the authoritative document on pkgsrc, also available as
doc/pkgsrc.txt
- pkgsrc in the NetBSD Wiki - miscellaneous articles and tutorials
- pkgsrc.se - a searchable web index of pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter - announcements to the world
- pkgsrcCon - we get together
- BulkTracker - a web application that tracks pkgsrc bulk builds