* [PATCH 1/2] sqlite3: Update to 3080301
@ 2014-02-24 17:03 Saul Wold
2014-02-24 17:03 ` [PATCH 2/2] sqlite: rename to match upstream versioning Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2014-02-24 17:03 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
.../sqlite/{sqlite3_3080002.bb => sqlite3_3080301.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-support/sqlite/{sqlite3_3080002.bb => sqlite3_3080301.bb} (58%)
diff --git a/meta/recipes-support/sqlite/sqlite3_3080002.bb b/meta/recipes-support/sqlite/sqlite3_3080301.bb
similarity index 58%
rename from meta/recipes-support/sqlite/sqlite3_3080002.bb
rename to meta/recipes-support/sqlite/sqlite3_3080301.bb
index 18ff292..8ed01a9 100644
--- a/meta/recipes-support/sqlite/sqlite3_3080002.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3080301.bb
@@ -2,10 +2,10 @@ require sqlite3.inc
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
-SRC_URI = "http://www.sqlite.org/2013/sqlite-autoconf-${PV}.tar.gz"
+SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz"
-SRC_URI[md5sum] = "6d6cc639a4da04fbbdda7b1a1a01b386"
-SRC_URI[sha256sum] = "fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2"
+SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6"
+SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c"
S = "${WORKDIR}/sqlite-autoconf-${PV}"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] sqlite: rename to match upstream versioning
2014-02-24 17:03 [PATCH 1/2] sqlite3: Update to 3080301 Saul Wold
@ 2014-02-24 17:03 ` Saul Wold
2014-02-24 17:23 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2014-02-24 17:03 UTC (permalink / raw)
To: openembedded-core
Since we are re-doing the version from a big number down to a dot
based number we have to bump the Package Epoch (PE).
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
.../sqlite/{sqlite3_3080301.bb => sqlite3_3.8.3.1.bb} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
rename meta/recipes-support/sqlite/{sqlite3_3080301.bb => sqlite3_3.8.3.1.bb} (71%)
diff --git a/meta/recipes-support/sqlite/sqlite3_3080301.bb b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
similarity index 71%
rename from meta/recipes-support/sqlite/sqlite3_3080301.bb
rename to meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
index 8ed01a9..ca3a05c 100644
--- a/meta/recipes-support/sqlite/sqlite3_3080301.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
@@ -2,12 +2,14 @@ require sqlite3.inc
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
-SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz"
+PE = "1"
+SQLITE_PV = "3080301"
+SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6"
SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c"
-S = "${WORKDIR}/sqlite-autoconf-${PV}"
+S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
# Provide column meta-data API
BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 2/2] sqlite: rename to match upstream versioning
2014-02-24 17:03 ` [PATCH 2/2] sqlite: rename to match upstream versioning Saul Wold
@ 2014-02-24 17:23 ` Paul Eggleton
0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2014-02-24 17:23 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core
On Monday 24 February 2014 19:03:13 Saul Wold wrote:
> Since we are re-doing the version from a big number down to a dot
> based number we have to bump the Package Epoch (PE).
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> .../sqlite/{sqlite3_3080301.bb => sqlite3_3.8.3.1.bb} | 6
> ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
> rename meta/recipes-support/sqlite/{sqlite3_3080301.bb =>
> sqlite3_3.8.3.1.bb} (71%)
>
> diff --git a/meta/recipes-support/sqlite/sqlite3_3080301.bb
> b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb similarity index 71%
> rename from meta/recipes-support/sqlite/sqlite3_3080301.bb
> rename to meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
> index 8ed01a9..ca3a05c 100644
> --- a/meta/recipes-support/sqlite/sqlite3_3080301.bb
> +++ b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
> @@ -2,12 +2,14 @@ require sqlite3.inc
>
> LIC_FILES_CHKSUM =
> "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
>
> -SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz"
> +PE = "1"
> +SQLITE_PV = "3080301"
> +SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
Rather than hardcoding this, we could use inline python to compute it.
This should work:
def sqlite_download_version(d):
pvsplit = d.getVar('PV', True).split('.')
return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]])
SQLITE_PV = "${@sqlite_download_version(d)}"
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-24 17:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 17:03 [PATCH 1/2] sqlite3: Update to 3080301 Saul Wold
2014-02-24 17:03 ` [PATCH 2/2] sqlite: rename to match upstream versioning Saul Wold
2014-02-24 17:23 ` Paul Eggleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox