pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-versions devel/hs-versions: import hs-version...
details: https://anonhg.NetBSD.org/pkgsrc/rev/168e3b74a6d3
branches: trunk
changeset: 374669:168e3b74a6d3
user: pho <pho%pkgsrc.org@localhost>
date: Thu Feb 24 01:23:25 2022 +0000
description:
devel/hs-versions: import hs-versions-5.0.2
A library for parsing and comparing software version numbers. We like to
give version numbers to our software in a myriad of ways. Some ways follow
strict guidelines for incrementing and comparison. Some follow conventional
wisdom and are generally self-consistent. Some are just plain asinine. This
library provides a means of parsing and comparing any style of versioning,
be it a nice Semantic Version like this:
1.2.3-r1+git123
...or a monstrosity like this:
2:10.2+0.0093r3+1-1
Please switch to Semantic Versioning if you aren't currently using it. It
provides consistency in version incrementing and has the best constraints
on comparisons.
This library implements version 2.0.0 of the SemVer spec.
diffstat:
devel/hs-versions/DESCR | 18 ++++++++++++++++++
devel/hs-versions/Makefile | 14 ++++++++++++++
devel/hs-versions/PLIST | 19 +++++++++++++++++++
devel/hs-versions/buildlink3.mk | 17 +++++++++++++++++
devel/hs-versions/distinfo | 5 +++++
5 files changed, 73 insertions(+), 0 deletions(-)
diffs (93 lines):
diff -r 48d0ee8d4ff6 -r 168e3b74a6d3 devel/hs-versions/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-versions/DESCR Thu Feb 24 01:23:25 2022 +0000
@@ -0,0 +1,18 @@
+A library for parsing and comparing software version numbers. We like to
+give version numbers to our software in a myriad of ways. Some ways follow
+strict guidelines for incrementing and comparison. Some follow conventional
+wisdom and are generally self-consistent. Some are just plain asinine. This
+library provides a means of parsing and comparing any style of versioning,
+be it a nice Semantic Version like this:
+
+ 1.2.3-r1+git123
+
+...or a monstrosity like this:
+
+ 2:10.2+0.0093r3+1-1
+
+Please switch to Semantic Versioning if you aren't currently using it. It
+provides consistency in version incrementing and has the best constraints
+on comparisons.
+
+This library implements version 2.0.0 of the SemVer spec.
diff -r 48d0ee8d4ff6 -r 168e3b74a6d3 devel/hs-versions/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-versions/Makefile Thu Feb 24 01:23:25 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2022/02/24 01:23:25 pho Exp $
+
+DISTNAME= versions-5.0.2
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Types and parsers for software version numbers
+LICENSE= modified-bsd
+
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../textproc/hs-megaparsec/buildlink3.mk"
+.include "../../devel/hs-parser-combinators/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 48d0ee8d4ff6 -r 168e3b74a6d3 devel/hs-versions/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-versions/PLIST Thu Feb 24 01:23:25 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:23:25 pho Exp $
+lib/versions-${PKGVERSION}/${HS_VERSION}/package-description
+lib/versions-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Versions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Versions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Versions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/Data-Versions.html
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/versions-${PKGVERSION}/html/versions.haddock
diff -r 48d0ee8d4ff6 -r 168e3b74a6d3 devel/hs-versions/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-versions/buildlink3.mk Thu Feb 24 01:23:25 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:23:25 pho Exp $
+
+BUILDLINK_TREE+= hs-versions
+
+.if !defined(HS_VERSIONS_BUILDLINK3_MK)
+HS_VERSIONS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-versions+= hs-versions>=5.0.2
+BUILDLINK_ABI_DEPENDS.hs-versions+= hs-versions>=5.0.2
+BUILDLINK_PKGSRCDIR.hs-versions?= ../../devel/hs-versions
+
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../textproc/hs-megaparsec/buildlink3.mk"
+.include "../../devel/hs-parser-combinators/buildlink3.mk"
+.endif # HS_VERSIONS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-versions
diff -r 48d0ee8d4ff6 -r 168e3b74a6d3 devel/hs-versions/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-versions/distinfo Thu Feb 24 01:23:25 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/24 01:23:25 pho Exp $
+
+BLAKE2s (versions-5.0.2.tar.gz) = c05ecfb4a1e4f5db9c711ae76180ad4569fa7a83778af52733e4a7094922c862
+SHA512 (versions-5.0.2.tar.gz) = a38f19e5d9b48ff4a610471615f0f75461b4445dab53a651e7f02729e68a6516d0ad1f21006d947dbff6298b301a1e42c983f2eb9fda1ef852936df6199bae29
+Size (versions-5.0.2.tar.gz) = 17919 bytes
Home |
Main Index |
Thread Index |
Old Index