Patches for aports can be sent to this list

1

[alpine-aports] [PATCH] testing/tinycbor: New aport

Marian Buschsieweke
Details
Message ID
<20190502144242.3839-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1556808162
DKIM signature
missing
Download raw message
Patch: +28 -0
Concise Binary Object Representation (CBOR) Library
https://github.com/intel/tinycbor
---
 testing/tinycbor/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 testing/tinycbor/APKBUILD

diff --git a/testing/tinycbor/APKBUILD b/testing/tinycbor/APKBUILD
new file mode 100644
index 0000000000..d74f253a87
--- /dev/null
+++ b/testing/tinycbor/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=tinycbor
+pkgver=0.5.2
+pkgrel=0
+pkgdesc="Concise Binary Object Representation (CBOR) Library"
+url="https://github.com/intel/tinycbor"
+checkdepends="qt5-qtbase-dev"
+arch="all"
+license="MIT"
+source="$pkgname-$pkgver.tar.gz::https://github.com/intel/tinycbor/archive/v${pkgver}.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+	cd "$builddir"
+	make
+}
+
+check() {
+	cd "$buiddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" prefix=/usr/ install
+}
+
+sha512sums="0eeabe3d0703b284748d6177afa04eb5c907bb5995084b53efb4589908c4b4815961d50ac295dac5022a34b4f4af28092694cb70e207b087f2ce8638bfa9ce1b  tinycbor-0.5.2.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Milan P. Stanić
Details
Message ID
<20190604215637.GA15027@arya.arvanta.net>
In-Reply-To
<20190502144242.3839-1-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1559685397
DKIM signature
missing
Download raw message
Hi,

On Thu, 2019-05-02 at 16:42, Marian Buschsieweke wrote:
> Concise Binary Object Representation (CBOR) Library
> https://github.com/intel/tinycbor

I'm not sure if these two lines above are needed in git commit message.


Build failed in test. Here is relevant part:
---
PASS   : tst_ToJson::maps(2.f^64-epsilon)
PASS   : tst_ToJson::maps(2.^64-epsilon)
FAIL!  : tst_ToJson::maps(2.f^64) Compared values are not the same
   Actual   (decoded) : "{\"Hello\":18446744073709551615}"
   Expected (expected): "{\"Hello\":1.8446744073709552e+19}"
   Loc: [tst_tojson.cpp(225)]
FAIL!  : tst_ToJson::maps(2.^64) Compared values are not the same
   Actual   (decoded) : "{\"Hello\":18446744073709551615}"
   Expected (expected): "{\"Hello\":1.8446744073709552e+19}"
   Loc: [tst_tojson.cpp(225)]
PASS   : tst_ToJson::maps(nan_f16)
---

-- 
Regards



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---