public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2021-12-05  4:53 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2021-12-05  4:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e53e739aef464b4b374305d412b5f8940e03720c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 03:52:14 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 04:53:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e53e739a

dev-lang/neko: new package; add version 2.3.0

Closes: https://github.com/gentoo/gentoo/pull/20470
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/Manifest          |  1 +
 dev-lang/neko/metadata.xml      | 24 ++++++++++++++++++++
 dev-lang/neko/neko-2.3.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/dev-lang/neko/Manifest b/dev-lang/neko/Manifest
new file mode 100644
index 000000000000..6072317ae8ce
--- /dev/null
+++ b/dev-lang/neko/Manifest
@@ -0,0 +1 @@
+DIST neko-2.3.0.tar.gz 514044 BLAKE2B 1214fd15e0bff9df3f0bb3f4c856134772f42da5740adc260051bea6e0203e2e37db852b97114ddeef58d8320313dd01875918dee1a001833a3b9ca7d7c3c512 SHA512 fec51bed0c5500561635656c7456f3da0599aa6a47a25efe739b3c51f9cdded4a8824ed14ab67bab0905d9082cf6f06b3a76c868cb1b61d440957bcd9fd3f3d2

diff --git a/dev-lang/neko/metadata.xml b/dev-lang/neko/metadata.xml
new file mode 100644
index 000000000000..471f38415bed
--- /dev/null
+++ b/dev-lang/neko/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>ml@gentoo.org</email>
+    <name>ML</name>
+  </maintainer>
+  <use>
+    <flag name="apache">Build Apache modules</flag>
+  </use>
+  <longdescription lang="en">
+    Neko is a high-level dynamically typed programming language. It can be
+    used as an embedded scripting language. It has been designed to provide
+    a common runtime for several different languages. Learning and using
+    Neko is very easy. You can easily extend the language with C libraries.
+    You can also write generators from your own language to Neko and then
+    use the Neko Runtime to compile, run, and access existing libraries.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/HaxeFoundation/neko/issues/</bugs-to>
+    <remote-id type="github">HaxeFoundation/neko</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-lang/neko/neko-2.3.0.ebuild b/dev-lang/neko/neko-2.3.0.ebuild
new file mode 100644
index 000000000000..307509336fb3
--- /dev/null
+++ b/dev-lang/neko/neko-2.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Neko is a high-level dynamically typed programming language"
+HOMEPAGE="https://nekovm.org/"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}.git"
+else
+	# 2.3.0 -> 2-3-0
+	MY_PV="${PV//./-}"
+	SRC_URI="https://github.com/HaxeFoundation/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+IUSE="apache mysql sqlite ssl"
+
+DEPEND="
+	dev-libs/boehm-gc:=
+	dev-libs/libpcre:=
+	sys-libs/zlib:=
+	apache? ( www-servers/apache:2 )
+	mysql? ( dev-db/mysql:* )
+	sqlite? ( dev-db/sqlite )
+	ssl? ( dev-libs/openssl )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DRUN_LDCONFIG=OFF
+		-DWITH_NEKOML=ON
+		-DWITH_REGEXP=ON
+		-DWITH_UI=OFF
+		-DWITH_APACHE=$(usex apache)
+		-DWITH_MYSQL=$(usex mysql)
+		-DWITH_SQLITE=$(usex sqlite)
+		-DWITH_SSL=$(usex ssl)
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2021-12-05  4:56 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2021-12-05  4:56 UTC (permalink / raw
  To: gentoo-commits

commit:     ac978471cce63891302a026a24a913e56dbfba00
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 04:56:06 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 04:56:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac978471

dev-lang/neko: remove lang from longdescription

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/neko/metadata.xml b/dev-lang/neko/metadata.xml
index 471f38415bed..6a316de17990 100644
--- a/dev-lang/neko/metadata.xml
+++ b/dev-lang/neko/metadata.xml
@@ -9,7 +9,7 @@
   <use>
     <flag name="apache">Build Apache modules</flag>
   </use>
-  <longdescription lang="en">
+  <longdescription>
     Neko is a high-level dynamically typed programming language. It can be
     used as an embedded scripting language. It has been designed to provide
     a common runtime for several different languages. Learning and using


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2021-12-05 16:07 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2021-12-05 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1504f6ee3c92fa120019cc25369b26ebeded2877
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 14:13:41 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 16:07:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1504f6ee

dev-lang/neko: fix slots; add missing mbedtls dep for USE=ssl

Closes: https://bugs.gentoo.org/828414
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/{neko-2.3.0.ebuild => neko-2.3.0-r1.ebuild} | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/neko/neko-2.3.0.ebuild b/dev-lang/neko/neko-2.3.0-r1.ebuild
similarity index 86%
rename from dev-lang/neko/neko-2.3.0.ebuild
rename to dev-lang/neko/neko-2.3.0-r1.ebuild
index 307509336fb3..c078c06afa2c 100644
--- a/dev-lang/neko/neko-2.3.0.ebuild
+++ b/dev-lang/neko/neko-2.3.0-r1.ebuild
@@ -27,10 +27,13 @@ DEPEND="
 	dev-libs/boehm-gc:=
 	dev-libs/libpcre:=
 	sys-libs/zlib:=
-	apache? ( www-servers/apache:2 )
-	mysql? ( dev-db/mysql:* )
-	sqlite? ( dev-db/sqlite )
-	ssl? ( dev-libs/openssl )
+	apache? ( www-servers/apache:2= )
+	mysql? ( dev-db/mysql:= )
+	sqlite? ( dev-db/sqlite:3= )
+	ssl? (
+		dev-libs/openssl:=
+		net-libs/mbedtls:=
+	)
 "
 RDEPEND="${DEPEND}"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2022-08-06 23:53 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2022-08-06 23:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1436f8adb49013af4ed0629e04386731767b7bd7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 23:45:37 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 23:50:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1436f8ad

dev-lang/neko: filter LTO (strict-aliasing)

Closes: https://bugs.gentoo.org/855641
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/neko-2.3.0-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-lang/neko/neko-2.3.0-r1.ebuild b/dev-lang/neko/neko-2.3.0-r1.ebuild
index c078c06afa2c..701f48537ec9 100644
--- a/dev-lang/neko/neko-2.3.0-r1.ebuild
+++ b/dev-lang/neko/neko-2.3.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit flag-o-matic cmake
 
 DESCRIPTION="Neko is a high-level dynamically typed programming language"
 HOMEPAGE="https://nekovm.org/"
@@ -38,6 +38,10 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_configure() {
+	# -Werror=strict-aliasing warnings, bug #855641
+	filter-lto
+	append-flags -fno-strict-aliasing
+
 	local mycmakeargs=(
 		-DRUN_LDCONFIG=OFF
 		-DWITH_NEKOML=ON


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2022-10-21  0:48 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2022-10-21  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1c1c3c6f36091848191c9383a624fafcfd7e2df0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 15:34:52 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 00:48:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1c3c6f

dev-lang/neko: depend on boehm-gc with USE=threads

Closes: https://bugs.gentoo.org/877199
Closes: https://bugs.gentoo.org/830097
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/{neko-2.3.0-r1.ebuild => neko-2.3.0-r2.ebuild} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-lang/neko/neko-2.3.0-r1.ebuild b/dev-lang/neko/neko-2.3.0-r2.ebuild
similarity index 86%
rename from dev-lang/neko/neko-2.3.0-r1.ebuild
rename to dev-lang/neko/neko-2.3.0-r2.ebuild
index 701f48537ec9..f51030b4e47b 100644
--- a/dev-lang/neko/neko-2.3.0-r1.ebuild
+++ b/dev-lang/neko/neko-2.3.0-r2.ebuild
@@ -6,9 +6,10 @@ EAPI=8
 inherit flag-o-matic cmake
 
 DESCRIPTION="Neko is a high-level dynamically typed programming language"
-HOMEPAGE="https://nekovm.org/"
+HOMEPAGE="https://nekovm.org/
+	https://github.com/HaxeFoundation/neko/"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}.git"
 else
@@ -23,8 +24,8 @@ LICENSE="MIT"
 SLOT="0/${PV}"
 IUSE="apache mysql sqlite ssl"
 
-DEPEND="
-	dev-libs/boehm-gc:=
+RDEPEND="
+	dev-libs/boehm-gc:=[threads]
 	dev-libs/libpcre:=
 	sys-libs/zlib:=
 	apache? ( www-servers/apache:2= )
@@ -35,7 +36,7 @@ DEPEND="
 		net-libs/mbedtls:=
 	)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 
 src_configure() {
 	# -Werror=strict-aliasing warnings, bug #855641


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/
@ 2024-07-19 11:02 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2024-07-19 11:02 UTC (permalink / raw
  To: gentoo-commits

commit:     46a08b99956dd8bfde4d786cecdfa364a41706d0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 11:01:00 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 11:02:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a08b99

dev-lang/neko: bump to 2.4.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/neko/Manifest          |  1 +
 dev-lang/neko/neko-2.4.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-lang/neko/Manifest b/dev-lang/neko/Manifest
index 6072317ae8ce..6f3daeaa9f63 100644
--- a/dev-lang/neko/Manifest
+++ b/dev-lang/neko/Manifest
@@ -1 +1,2 @@
 DIST neko-2.3.0.tar.gz 514044 BLAKE2B 1214fd15e0bff9df3f0bb3f4c856134772f42da5740adc260051bea6e0203e2e37db852b97114ddeef58d8320313dd01875918dee1a001833a3b9ca7d7c3c512 SHA512 fec51bed0c5500561635656c7456f3da0599aa6a47a25efe739b3c51f9cdded4a8824ed14ab67bab0905d9082cf6f06b3a76c868cb1b61d440957bcd9fd3f3d2
+DIST neko-2.4.0.tar.gz 530457 BLAKE2B 0d5bcde8f755688b3e14b316ef2691a7755d2ed330c24bacc1ce2b7d1f82c20b1756c115742893d259d08cb18fee36cd596eb88542590aaebb021f8f1812367d SHA512 bd759f712ffcda6ad0f03542060ad9e7fbba06c4c54c7007b7a6692dfc2d87bce3d8f78d6ef64752dd0e4d7e9d352c7543f1c5a1c49f7b7073efb2043ba7f0ab

diff --git a/dev-lang/neko/neko-2.4.0.ebuild b/dev-lang/neko/neko-2.4.0.ebuild
new file mode 100644
index 000000000000..f51030b4e47b
--- /dev/null
+++ b/dev-lang/neko/neko-2.4.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic cmake
+
+DESCRIPTION="Neko is a high-level dynamically typed programming language"
+HOMEPAGE="https://nekovm.org/
+	https://github.com/HaxeFoundation/neko/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}.git"
+else
+	# 2.3.0 -> 2-3-0
+	MY_PV="${PV//./-}"
+	SRC_URI="https://github.com/HaxeFoundation/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/${PN}-${MY_PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+IUSE="apache mysql sqlite ssl"
+
+RDEPEND="
+	dev-libs/boehm-gc:=[threads]
+	dev-libs/libpcre:=
+	sys-libs/zlib:=
+	apache? ( www-servers/apache:2= )
+	mysql? ( dev-db/mysql:= )
+	sqlite? ( dev-db/sqlite:3= )
+	ssl? (
+		dev-libs/openssl:=
+		net-libs/mbedtls:=
+	)
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	# -Werror=strict-aliasing warnings, bug #855641
+	filter-lto
+	append-flags -fno-strict-aliasing
+
+	local mycmakeargs=(
+		-DRUN_LDCONFIG=OFF
+		-DWITH_NEKOML=ON
+		-DWITH_REGEXP=ON
+		-DWITH_UI=OFF
+		-DWITH_APACHE=$(usex apache)
+		-DWITH_MYSQL=$(usex mysql)
+		-DWITH_SQLITE=$(usex sqlite)
+		-DWITH_SSL=$(usex ssl)
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-19 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-05  4:53 [gentoo-commits] repo/gentoo:master commit in: dev-lang/neko/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2021-12-05  4:56 Maciej Barć
2021-12-05 16:07 Maciej Barć
2022-08-06 23:53 Maciej Barć
2022-10-21  0:48 Maciej Barć
2024-07-19 11:02 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox