4b5998310c
7.2 (10 May 2021) Allow the character field to work with custom country codes that are not 2 characters (such as "GB-WLS"). Fix compatibility with django-migrations-ignore-attrs library. 7.1 (17 March 2021) Allow customising the str_attr of Country objects returned from a CountryField via a new countries_str_attr keyword argument (thanks C. Quentin). Add pyuca as an extra dependency, so that it can be installed like pip install django-countries[pyuca]. Add Django 3.2 support. 7.0 (5 December 2020) Add name_only as an option to the Django Rest Framework serializer field (thanks Miguel Marques). Add in Python typing. Add Python 3.9, Django 3.1, and Django Rest Framework 3.12 support. Drop Python 3.5 support. Improve IOC code functionality, allowing them to be overridden in COUNTRIES_OVERRIDE using the complex dictionary format. 6.1.3 (18 August 2020) Update flag of Mauritania. Add flag for Kosovo (under its temporary code of XK). 6.1.2 (26 March 2020) Fix Python 3.5 syntax error (no f-strings just yet...). 6.1.1 (26 March 2020) Change ISO country import so that "Falkland Islands [Malvinas]" => "Falkland Islands (Malvinas)". 6.1 (20 March 2020) Add a GraphQL object type for a django Country object. 6.0 (28 February 2020) Make DRF CountryField respect blank=False. This is a backwards incompatible change since blank input will now return a validation error (unless blank is explicitly set to True). Fix COUNTRIES_OVERRIDE when using the complex dictionary format and a single name. Add bandit to the test suite for basic security analysis. Drop Python 2.7 and Python 3.4 support. Add Rest Framework 3.10 and 3.11 to the test matrix, remove 3.8. Fix a memory leak when using PyUCA. Thanks Meiyer (aka interDist)! 5.5 (11 September 2019) Django 3.0 compatibility. Plugin system for extending the Country object. 5.4 (11 August 2019) Renamed Macedonia -> North Macedonia. Fix an outlying makemigrations error. Pulled in new translations which were provided but missing from previous version. Fixed Simplified Chinese translation (needed to be locale/zh_Hans). Introduce an optional complex format for COUNTRIES_ONLY and COUNTRIES_OVERRIDE to allow for multiple names for a country, a custom three character code, and a custom numeric country code. 5.3.3 (16 February 2019) Add test coverage for Django Rest Framework 3.9. 5.3.2 (27 August 2018) Tests for Django 2.1 and Django Rest Framework 3.8. 5.3.1 (12 June 2018) Fix dumpdata and loaddata for CountryField(multiple=True). 5.3 (20 April 2018) Iterating a Countries object now returns named tuples. This makes things nicer when using {% get_countries %} or using the country list elsewhere in your code. |
||
---|---|---|
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.
Troubleshooting
- Join the community IRC channel #pkgsrc @ freenode.
- 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