Skip to content

Commit

Permalink
Merge pull request #1 from pombredanne/debian-sources
Browse files Browse the repository at this point in the history
Refine Debian sources
  • Loading branch information
gernot-h authored Dec 10, 2021
2 parents bdb25b4 + 89e5447 commit b68c958
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions PURL-TYPES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bitbucket
pkg:bitbucket/birkenfeld/pygments-main@244fd47e07d1014f0aed9c

cocoapods
-----
---------
``cocoapods`` for Cocoapods:

- The default repository is ``https://cdn.cocoapods.org/``
Expand Down Expand Up @@ -130,12 +130,14 @@ deb
It is not case sensitive and must be lowercased.
- The ``name`` is not case sensitive and must be lowercased.
- The ``version`` is the version of the binary (or source) package.
- ``arch`` is the qualifiers key for a package architecture. The special
value ``arch=source`` shall identify a Debian source package (which
usually consists of a Debian Source control file (.dsc) and corresponding
upstream and Debian sources). In this case, ``name`` and ``version`` of the
source package shall be given (both may differ from binary package!), as
printed by ``dpkg-query -f '${source:Package} ${source:Version} -W <pkg>``.
- ``arch`` is the qualifiers key for a package architecture. The special value
``arch=source`` identifies a Debian source package that usually consists of a
Debian Source control file (.dsc) and corresponding upstream and Debian
sources. The ``dpkg-query`` command can print the ``name`` and ``version`` of
the corresponding source package of a binary package::

dpkg-query -f '${source:Package} ${source:Version}' -W <binary package name>

- Examples::

pkg:deb/debian/[email protected]?arch=i386&distro=jessie
Expand Down

0 comments on commit b68c958

Please sign in to comment.