* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2013-09-23 18:38 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2013-09-23 18:38 UTC (permalink / raw
To: gentoo-commits
commit: fc0c45de712673ac9a91de66d62e6f4499c570d0
Author: Heather <Heather <AT> cynede <DOT> net>
AuthorDate: Mon Sep 23 18:35:29 2013 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 18:35:29 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=fc0c45de
mono dep for dotnet eclass
---
eclass/dotnet.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index ad79784..8473700 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -23,6 +23,8 @@ inherit eutils versionator mono-env
# @DESCRIPTION:
# Use flags added to IUSE
+DEPEND+=" dev-lang/mono"
+
# SET default use flags according on DOTNET_TARGETS
for x in ${USE_DOTNET}; do
case ${x} in
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-06-25 7:04 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-06-25 7:04 UTC (permalink / raw
To: gentoo-commits
commit: db5e3e226a27168f8a294343afd8c5ed84dbfb51
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sun Jun 21 15:03:43 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 15:03:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=db5e3e22
Update dotnet.eclass
eclass/dotnet.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index ea5bc3b..c5e091e 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -81,7 +81,7 @@ unset MONO_AOT_CACHE
# @FUNCTION: exbuild
# @DESCRIPTION: run xbuild with Release configuration and configurated FRAMEWORK
exbuild() {
- elog "xbuild ""$@"" /p:Configuration=Release /tv:4.0 /p:TargetFrameworkVersion=v""${FRAMEWORK}"" || die"
+ elog "xbuild ""$@"" /p:Configuration=Release /tv:4.0 /p:TargetFrameworkVersion=v""${FRAMEWORK}"" || die"
xbuild "$@" /p:Configuration=Release /tv:4.0 /p:TargetFrameworkVersion=v"${FRAMEWORK}" || die
}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-05 17:16 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-05 17:16 UTC (permalink / raw
To: gentoo-commits
commit: 6cac2f883ecae94467f0a83909f818586156bf3e
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Tue Aug 4 19:02:11 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Aug 4 19:02:11 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=6cac2f88
brainless replace
eclass/gtk-sharp-module.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index 8c2831f..0eb4bed 100644
--- a/eclass/gtk-sharp-module.eclass
+++ b/eclass/gtk-sharp-module.eclass
@@ -535,13 +535,13 @@ gtk-sharp-module_src_configure() {
# @FUNCTION: gtk-sharp-module_src_compile
# @DESCRIPTION:
# Calls emake in the subdir of the module.
-# Sets CSC=/usr/bin/gmcs. Deletes top_srcdir Makefiles to prevent recursing in
+# Sets CSC=/usr/bin/mcs. Deletes top_srcdir Makefiles to prevent recursing in
# case we missed some dll references.
# Is exported.
gtk-sharp-module_src_compile() {
rm -f "${S}"/Makefile* &> /dev/null
cd "${S}/${GTK_SHARP_MODULE_DIR}"
- emake CSC=/usr/bin/gmcs || die "emake failed"
+ emake CSC=/usr/bin/mcs || die "emake failed"
}
# @FUNCTION: gtk-sharp-module_src_install
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-13 8:14 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-13 8:14 UTC (permalink / raw
To: gentoo-commits
commit: 05184164b2945571a9e870684221c0ea6028ae9d
Author: Heather <Heather <AT> live <DOT> ru>
AuthorDate: Thu Aug 13 08:12:49 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 08:12:49 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=05184164
correct mail address
eclass/dotnet.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index 5cc058a..989b0b0 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -3,7 +3,7 @@
# $Id$
# @ECLASS: dotnet.eclass
-# @MAINTAINER: heather@cynede.net
+# @MAINTAINER: cynede@gentoo.org
# @BLURB: common settings and functions for mono and dotnet related packages
# @DESCRIPTION:
# The dotnet eclass contains common environment settings that are useful for
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-17 13:55 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-17 13:55 UTC (permalink / raw
To: gentoo-commits
commit: 63a8e0ccdafa58bf0f87171dd72b8e697e7506fe
Author: Heather <Heather <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Mon Aug 17 13:52:13 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 13:52:13 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=63a8e0cc
nuget eclass : email update
eclass/nuget.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 535dd4b..2df0eb9 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -3,7 +3,7 @@
# $Id$
# @ECLASS: nuget.eclass
-# @MAINTAINER: Heather@Cynede.net
+# @MAINTAINER: cynede@gentoo.org
# @BLURB: Common functionality for nuget apps
# @DESCRIPTION: Common functionality needed by fake build system.
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-17 13:55 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-17 13:55 UTC (permalink / raw
To: gentoo-commits
commit: 2ce39f0a4e3d8e896afa9eeb901319aca7d8710f
Author: Heather <Heather <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Mon Aug 17 13:52:44 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 13:52:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=2ce39f0a
fake eclass : email update
eclass/fake.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/fake.eclass b/eclass/fake.eclass
index 432c266..f990f18 100644
--- a/eclass/fake.eclass
+++ b/eclass/fake.eclass
@@ -3,7 +3,7 @@
# $Id$
# @ECLASS: fake.eclass
-# @MAINTAINER: Heather@Cynede.net
+# @MAINTAINER: cynede@gentoo.org
# @BLURB: Common functionality for fake apps
# @DESCRIPTION: Common functionality needed by fake build system.
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-18 7:56 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-18 7:56 UTC (permalink / raw
To: gentoo-commits
commit: c3bc17e7d73cc101287d4cc75a86e9c2425efed4
Author: Heather <Heather <AT> live <DOT> ru>
AuthorDate: Tue Aug 18 07:54:20 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 07:54:20 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=c3bc17e7
correct gtk-shar-module.eclass based on bug 557618
eclass/gtk-sharp-module.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index 6b457b1..21120dc 100644
--- a/eclass/gtk-sharp-module.eclass
+++ b/eclass/gtk-sharp-module.eclass
@@ -101,6 +101,8 @@ case ${GTK_SHARP_MODULE} in
"${WORKDIR}/${TARBALL}-2.12.11.patch"
)
;;
+ esac
+ case ${PVR} in
2.12.1*)
EAUTORECONF="YES"
add_bdepend "=sys-devel/automake-1.10*"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-18 8:01 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-18 8:01 UTC (permalink / raw
To: gentoo-commits
commit: 576f0ca853d75b7828670260256d9d5f7260f9b6
Author: Heather <Heather <AT> live <DOT> ru>
AuthorDate: Tue Aug 18 07:59:34 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 07:59:34 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=576f0ca8
sync with gentoo-x86
eclass/gtk-sharp-module.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index 21120dc..262c2c1 100644
--- a/eclass/gtk-sharp-module.eclass
+++ b/eclass/gtk-sharp-module.eclass
@@ -285,7 +285,7 @@ S="${WORKDIR}/${TARBALL}-${PV}"
# @ECLASS-VARIABLE: SRC_URI
# @DESCRIPTION:
# Default value: mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2
-if TARBALL="gtk-sharp"; then
+if [[ ${TARBALL} == "gtk-sharp" ]]; then
SRC_URI="${SRC_URI}
http://download.mono-project.com/sources/gtk-sharp212/${TARBALL}-${PV}.tar.bz2"
else
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-08-22 16:46 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-08-22 16:46 UTC (permalink / raw
To: gentoo-commits
commit: 0c920e3752b81471610a4a140a63f3e6a2c22ab0
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sat Aug 22 12:50:43 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 12:50:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=0c920e37
flags used in eclass, so it should be here
eclass/dotnet.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index 85a1521..0b94b64 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -24,6 +24,7 @@ inherit eutils versionator mono-env
# Use flags added to IUSE
DEPEND+=" dev-lang/mono"
+IUSE+=" debug developer"
# SET default use flags according on DOTNET_TARGETS
for x in ${USE_DOTNET}; do
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-09-19 10:59 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-09-19 10:59 UTC (permalink / raw
To: gentoo-commits
commit: 7e367361cb29ff4c8dbad720fe142b6c2c78a672
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Fri Sep 18 04:38:47 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 04:38:47 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=7e367361
missed function
eclass/mpt-r20150903.eclass | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/eclass/mpt-r20150903.eclass b/eclass/mpt-r20150903.eclass
index 930a70e..427338d 100644
--- a/eclass/mpt-r20150903.eclass
+++ b/eclass/mpt-r20150903.eclass
@@ -25,13 +25,21 @@ empt-gitmodules() {
empt-sln() {
"${TOOLS_PATH}/empt-sln" $@ || die
}
+
# @FUNCTION: empt-csproj
# @DESCRIPTION: wraps mpt-csproj
empt-csproj() {
"${TOOLS_PATH}/empt-csproj" $@ || die
}
-# @FUNCTION: eempt-machine
+
+# @FUNCTION: empt-machine
# @DESCRIPTION: wraps empt-machine
empt-machine() {
"${TOOLS_PATH}/empt-machine" $@ || die
}
+
+# @FUNCTION: empt-nuget
+# @DESCRIPTION: wraps empt-nuget
+empt-nuget() {
+ "${TOOLS_PATH}/empt-nuget" $@ || die
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-09-19 10:59 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-09-19 10:59 UTC (permalink / raw
To: gentoo-commits
commit: 1292f29d3c95417425e0de1d194ae3f50ba5aa8c
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Thu Sep 3 07:17:53 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 14:24:56 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=1292f29d
text of eclass, initial version
eclass/mpt-r20150903.eclass | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/eclass/mpt-r20150903.eclass b/eclass/mpt-r20150903.eclass
new file mode 100644
index 0000000..6e8a78d
--- /dev/null
+++ b/eclass/mpt-r20150903.eclass
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# @ECLASS: mpt-r20150903.eclass
+# @MAINTAINER: cynede@gentoo.org
+# @BLURB: wrappers for mono-packaging-tools package
+# @DESCRIPTION:
+# This eclass include function wrappers
+
+inherit eutils versionator mono-env dotnet
+
+DEPEND+=" dev-util/mono-packaging-tools"
+
+# @FUNCTION: empt-gitmodules
+# @DESCRIPTION: wraps mpt-gitmodules
+empt-gitmodules() {
+ mpt-gitmodules $@ || die
+}
+
+# @FUNCTION: empt-sln
+# @DESCRIPTION: wraps mpt-sln
+empt-sln() {
+ empt-sln $@ || die
+}
+# @FUNCTION: empt-csproj
+# @DESCRIPTION: wraps mpt-csproj
+empt-csproj() {
+ empt-csproj $@ || die
+}
+# @FUNCTION: eempt-machine
+# @DESCRIPTION: wraps empt-machine
+empt-machine() {
+ empt-machine $@ || die
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-10-17 6:40 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-10-17 6:40 UTC (permalink / raw
To: gentoo-commits
commit: 4559734d5925611461005ada319c4eb373b7ca40
Author: Heather <Heather <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Oct 17 06:39:07 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 06:39:07 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=4559734d
improve eclass docs
eclass/nuget.eclass | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 4356b88..1561fd6 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -5,7 +5,9 @@
# @ECLASS: nuget.eclass
# @MAINTAINER: cynede@gentoo.org
# @BLURB: Common functionality for nuget apps
-# @DESCRIPTION: Common functionality needed by fake build system.
+# @DESCRIPTION: my idea of nuget was following:
+# introduce nuget IUSE flag for packages that are on nuget to download them from nuget. (if sources fails with some reason or dependies is complicated or if user just want binaries).
+# or maybe even introduce few packages that just downloads and instulls from nuget, reason is obviously - easy maintaince
inherit dotnet
@@ -66,7 +68,7 @@ else
fi
# @FUNCTION: nuget_src_unpack
-# @DESCRIPTION: my idea of nuget was following:
+# @DESCRIPTION: Runs nuget
# Here is usage example where nuget is alternative way: https://github.com/gentoo/dotnet/blob/master/dev-dotnet/fake
# Src_compile does nothing and src_install just installs sources from nuget_src_unpack
nuget_src_unpack() {
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2015-10-17 6:40 Heather Cynede
0 siblings, 0 replies; 21+ messages in thread
From: Heather Cynede @ 2015-10-17 6:40 UTC (permalink / raw
To: gentoo-commits
commit: d8d7b0a1ef60b9bae3977149720390245e43203c
Author: Heather <Heather <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Oct 17 06:37:47 2015 +0000
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 06:37:47 2015 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=d8d7b0a1
note about nuget_src_unpack
eclass/nuget.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index c7a3da2..4356b88 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -66,7 +66,9 @@ else
fi
# @FUNCTION: nuget_src_unpack
-# @DESCRIPTION: Runs nuget.
+# @DESCRIPTION: my idea of nuget was following:
+# Here is usage example where nuget is alternative way: https://github.com/gentoo/dotnet/blob/master/dev-dotnet/fake
+# Src_compile does nothing and src_install just installs sources from nuget_src_unpack
nuget_src_unpack() {
default
nuget install "${NPN}" -Version "${NPV}" -OutputDirectory "${P}"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-07-31 8:52 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-07-31 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 823bf5eab42bcd808742cf6eafed0e6841e4291e
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sat Jul 30 12:33:58 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 12:33:58 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=823bf5ea
patch from https://marc.info/?l=gentoo-dev&m=146852788902799&w=2
eclass/depend.apache.eclass | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass
index 22a8216..d0b30eb 100644
--- a/eclass/depend.apache.eclass
+++ b/eclass/depend.apache.eclass
@@ -162,6 +162,8 @@ depend.apache_pkg_setup() {
else
_init_no_apache
fi
+ else
+ _init_apache2
fi
}
@@ -226,7 +228,9 @@ need_apache2() {
DEPEND="${DEPEND} ${APACHE2_DEPEND}"
RDEPEND="${RDEPEND} ${APACHE2_DEPEND}"
- _init_apache2
+ case "${EAPI:-0}" in
+ 0|1|2|3|4|5) _init_apache2 ;;
+ esac
}
# @FUNCTION: need_apache2_2
@@ -237,7 +241,9 @@ need_apache2_2() {
DEPEND="${DEPEND} ${APACHE2_2_DEPEND}"
RDEPEND="${RDEPEND} ${APACHE2_2_DEPEND}"
- _init_apache2
+ case "${EAPI:-0}" in
+ 0|1|2|3|4|5) _init_apache2 ;;
+ esac
}
# @FUNCTION: need_apache2_4
@@ -248,7 +254,9 @@ need_apache2_4() {
DEPEND="${DEPEND} ${APACHE2_4_DEPEND}"
RDEPEND="${RDEPEND} ${APACHE2_4_DEPEND}"
- _init_apache2
+ case "${EAPI:-0}" in
+ 0|1|2|3|4|5) _init_apache2 ;;
+ esac
}
# @FUNCTION: has_apache
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-08-17 9:44 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-08-17 9:44 UTC (permalink / raw
To: gentoo-commits
commit: 7934f1bfdc7c70cb4d06ad58a66c5d6d470ef1d2
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Tue Aug 16 15:48:06 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Aug 16 15:48:06 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=7934f1bf
require nuget for all other ebuilds which build packages
eclass/nupkg.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/nupkg.eclass b/eclass/nupkg.eclass
index ed6731f..03f5315 100644
--- a/eclass/nupkg.eclass
+++ b/eclass/nupkg.eclass
@@ -11,6 +11,9 @@ inherit dotnet
IUSE+=" +nupkg"
+DEPEND+=" dev-dotnet/nuget"
+RDEPEND+=" dev-dotnet/nuget"
+
# @FUNCTION: get_nuget_trusted_icons_location
# @USAGE: [directory]
# @DESCRIPTION:
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-08-19 16:12 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-08-19 16:12 UTC (permalink / raw
To: gentoo-commits
commit: 194ea096838a961a453b646966bc750c444ceedd
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Wed Aug 17 12:06:20 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 12:06:20 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=194ea096
make nuget optional
eclass/nuget.eclass | 33 +++++++++++++++++++++++++++++++++
eclass/nupkg.eclass | 33 ++-------------------------------
2 files changed, 35 insertions(+), 31 deletions(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 02e13b8..3fbb21c 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -11,6 +11,39 @@
inherit nupkg
+IUSE+=" +nuget"
+
+DEPEND+=" nuget? ( dev-dotnet/nuget )"
+RDEPEND+=" nuget? ( dev-dotnet/nuget )"
+
+# @FUNCTION: enuget_download_rogue_binary
+# @DESCRIPTION: downloads a binary package from 3rd untrusted party repository
+# accepts Id of package as parameter
+enuget_download_rogue_binary() {
+ CONFIG_PATH=${T}/.nuget
+ CONFIG_NAME=NuGet.Config
+ einfo "Downloading rogue binary '$1'"
+ addwrite "$(get_nuget_untrusted_archives_location)" || die
+ mkdir -p "$(get_nuget_untrusted_archives_location)" || die
+ einfo wget --continue https://www.nuget.org/api/v2/package/$1/$2 --output-document="$(get_nuget_untrusted_archives_location)/$1.$2.nupkg"
+ wget --continue https://www.nuget.org/api/v2/package/$1/$2 --output-document="$(get_nuget_untrusted_archives_location)/$1.$2.nupkg" || die
+ # -p ignores directory if it is already exists
+ mkdir -p "${CONFIG_PATH}/" || die
+ cat <<-EOF >"${CONFIG_PATH}/${CONFIG_NAME}" || die
+ <?xml version="1.0" encoding="utf-8" ?>
+ <configuration>
+ <config>
+ <add key="repositoryPath" value="$(get_nuget_untrusted_archives_location)" />
+ </config>
+ <disabledPackageSources />
+ </configuration>
+ EOF
+ einfo "Installing rogue binary '$1' into '${S}/packages'"
+ einfo "$(pwd)"
+ einfo nuget install "$1" -Version "$2" -SolutionDirectory "${S}" -ConfigFile "${CONFIG_PATH}/${CONFIG_NAME}" -OutputDirectory "${S}/packages" -Verbosity detailed
+ nuget install "$1" -Version "$2" -SolutionDirectory "${T}" -ConfigFile "${CONFIG_PATH}/${CONFIG_NAME}" -OutputDirectory "${S}/packages" -Verbosity detailed || die
+}
+
# @FUNCTION: nuget_src_unpack
# @DESCRIPTION: Runs nuget
# Here is usage example where nuget is alternative way: https://github.com/gentoo/dotnet/blob/master/dev-dotnet/fake
diff --git a/eclass/nupkg.eclass b/eclass/nupkg.eclass
index 03f5315..d50d65e 100644
--- a/eclass/nupkg.eclass
+++ b/eclass/nupkg.eclass
@@ -11,8 +11,8 @@ inherit dotnet
IUSE+=" +nupkg"
-DEPEND+=" dev-dotnet/nuget"
-RDEPEND+=" dev-dotnet/nuget"
+DEPEND+=" nupkg? ( dev-dotnet/nuget )"
+RDEPEND+=" nupkg? ( dev-dotnet/nuget )"
# @FUNCTION: get_nuget_trusted_icons_location
# @USAGE: [directory]
@@ -74,35 +74,6 @@ enuget_restore() {
nuget restore "$@" || die
}
-CONFIG_PATH=${T}/.nuget
-CONFIG_NAME=NuGet.Config
-
-# @FUNCTION: enuget_download_rogue_binary
-# @DESCRIPTION: downloads a binary package from 3rd untrusted party repository
-# accepts Id of package as parameter
-enuget_download_rogue_binary() {
- einfo "Downloading rogue binary '$1'"
- addwrite "$(get_nuget_untrusted_archives_location)" || die
- mkdir -p "$(get_nuget_untrusted_archives_location)" || die
- einfo wget --continue https://www.nuget.org/api/v2/package/$1/$2 --output-document="$(get_nuget_untrusted_archives_location)/$1.$2.nupkg"
- wget --continue https://www.nuget.org/api/v2/package/$1/$2 --output-document="$(get_nuget_untrusted_archives_location)/$1.$2.nupkg" || die
- # -p ignores directory if it is already exists
- mkdir -p "${CONFIG_PATH}/" || die
- cat <<-EOF >"${CONFIG_PATH}/${CONFIG_NAME}" || die
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <config>
- <add key="repositoryPath" value="$(get_nuget_untrusted_archives_location)" />
- </config>
- <disabledPackageSources />
- </configuration>
- EOF
- einfo "Installing rogue binary '$1' into '${S}/packages'"
- einfo "$(pwd)"
- einfo nuget install "$1" -Version "$2" -SolutionDirectory "${S}" -ConfigFile "${CONFIG_PATH}/${CONFIG_NAME}" -OutputDirectory "${S}/packages" -Verbosity detailed
- nuget install "$1" -Version "$2" -SolutionDirectory "${T}" -ConfigFile "${CONFIG_PATH}/${CONFIG_NAME}" -OutputDirectory "${S}/packages" -Verbosity detailed || die
-}
-
# @FUNCTION: enuspec
# @DESCRIPTION: run nuget pack
# accepts path to .nuspec file as parameter
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-08-19 16:12 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-08-19 16:12 UTC (permalink / raw
To: gentoo-commits
commit: fa22b03f30d95f7e0e14a11d68feffd27f102155
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Thu Aug 18 19:47:35 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 19:47:35 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=fa22b03f
replace prefix to dot
eclass/nuget.eclass | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 5c59f05..c145dce 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -56,16 +56,27 @@ enuget_download_rogue_binary() {
# Src_compile does nothing and src_install just installs sources from nuget_src_unpack
nuget_src_unpack() {
default
+ einfo "src_unpack() from nuget.eclass is called"
NPN=${PN/_/.}
- if [[ $PV == *_alpha* ]] || [[ $PV == *_beta* ]] || [[ $PV == *_pre* ]] || [[ $PV == *_p* ]]
- then
- NPV=${PVR/_/-}
+ if [[ $PV == *_alpha* ]] ; then
+ NPV=${PVR/_alpha/.}
else
- NPV=${PVR}
+ if [[ $PV == *_beta* ]] ; then
+ NPV=${PVR/_beta/.}
+ else
+ if [[ $PV == *_pre* ]] ; then
+ NPV=${PVR/_pre/.}
+ else
+ if [[ $PV == *_p* ]] ; then
+ NPV=${PVR/_p/.}
+ else
+ NPV=${PVR}
+ fi
+ fi
+ fi
fi
-
nuget install "${NPN}" -Version "${NPV}" -OutputDirectory "${P}"
}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-08-19 16:12 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-08-19 16:12 UTC (permalink / raw
To: gentoo-commits
commit: 1c0049ccaac716f6f988ce0cb65012ac6f119011
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Thu Aug 18 19:25:03 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 19:25:03 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=1c0049cc
add _p into NPV variable
eclass/nuget.eclass | 22 +++++++++++++++++++---
eclass/nupkg.eclass | 16 ----------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 3fbb21c..5c59f05 100644
--- a/eclass/nuget.eclass
+++ b/eclass/nuget.eclass
@@ -11,10 +11,16 @@
inherit nupkg
-IUSE+=" +nuget"
+# @ECLASS_VARIABLE: NUGET_DEPEND
+# @DESCRIPTION Set false to net depend on nuget
+: ${NUGET_NO_DEPEND:=}
-DEPEND+=" nuget? ( dev-dotnet/nuget )"
-RDEPEND+=" nuget? ( dev-dotnet/nuget )"
+if [[ -n ${NUGET_NO_DEPEND} ]]; then
+ IUSE+=" +nuget"
+
+ DEPEND+=" nuget? ( dev-dotnet/nuget )"
+ RDEPEND+=" nuget? ( dev-dotnet/nuget )"
+fi
# @FUNCTION: enuget_download_rogue_binary
# @DESCRIPTION: downloads a binary package from 3rd untrusted party repository
@@ -50,6 +56,16 @@ enuget_download_rogue_binary() {
# Src_compile does nothing and src_install just installs sources from nuget_src_unpack
nuget_src_unpack() {
default
+
+ NPN=${PN/_/.}
+
+ if [[ $PV == *_alpha* ]] || [[ $PV == *_beta* ]] || [[ $PV == *_pre* ]] || [[ $PV == *_p* ]]
+ then
+ NPV=${PVR/_/-}
+ else
+ NPV=${PVR}
+ fi
+
nuget install "${NPN}" -Version "${NPV}" -OutputDirectory "${P}"
}
diff --git a/eclass/nupkg.eclass b/eclass/nupkg.eclass
index d50d65e..ccf3983 100644
--- a/eclass/nupkg.eclass
+++ b/eclass/nupkg.eclass
@@ -100,19 +100,3 @@ enupkg() {
doins "$@"
fi
}
-
-# @ECLASS_VARIABLE: NUGET_DEPEND
-# @DESCRIPTION Set false to net depend on nuget
-: ${NUGET_NO_DEPEND:=}
-
-if [[ -n ${NUGET_NO_DEPEND} ]]; then
- DEPEND+=" dev-dotnet/nuget"
-fi
-
-NPN=${PN/_/.}
-if [[ $PV == *_alpha* ]] || [[ $PV == *_beta* ]] || [[ $PV == *_pre* ]]
-then
- NPV=${PVR/_/-}
-else
- NPV=${PVR}
-fi
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-10-04 6:14 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-10-04 6:14 UTC (permalink / raw
To: gentoo-commits
commit: cc0a2b66478e7fa894eb63abb35902036014012b
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sat Oct 1 04:33:43 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 04:33:43 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=cc0a2b66
multiple assembly names support added
eclass/gac.eclass | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/eclass/gac.eclass b/eclass/gac.eclass
index 0c47445..2be4356 100644
--- a/eclass/gac.eclass
+++ b/eclass/gac.eclass
@@ -60,23 +60,42 @@ egacdel() {
fi
}
+# http://www.gossamer-threads.com/lists/gentoo/dev/263462
+# pkg config files should always come from upstream
+# but what if they are not?
+# you can fork, or you can use a configuration system that upstream actually supports.
+# both are more difficult than creating .pc in ebuilds. Forks requires maintenance, and
+# second one requires rewriting the IDE (disrespecting the decision of IDE's authors who decide to use .pc-files)
+# So, "keep fighting the good fight, don't stop believing, and let the haters hate" (q) desultory from #gentoo-dev-help @ freenode
+
# @FUNCTION: einstall_pc_file
# @DESCRIPTION: installs .pc file
# The file format contains predefined metadata keywords and freeform variables (like ${prefix} and ${exec_prefix})
# $1 = ${PN}
# $2 = ${PV}
-# $3 = myassembly.dll # should not contain path, it is calculated magically, see DLL_FILENAME variable
+# $3 = myassembly1 # should not contain path, shouldn't contain .dll extension
+# $4 = myassembly2
+# $N = myassemblyN-2 # see DLL_REFERENCES
einstall_pc_file()
{
if use pkg-config; then
local PC_NAME="$1"
local PC_VERSION="$2"
- local DLL_NAME="$3"
+
+ shift 2
+ if [ "$#" == "0" ]; then
+ die "no assembly names given"
+ fi
+ local DLL_REFERENCES=""
+ while (( "$#" )); do
+ DLL_REFERENCES+=" -r:\${libdir}/mono/${PC_NAME}/${1}.dll"
+ shift
+ done
+
local PC_FILENAME="${PC_NAME}-${PC_VERSION}"
local PC_DIRECTORY="/usr/$(get_libdir)/pkgconfig"
#local PC_DIRECTORY_DELTA="${CATEGORY}/${PN}"
local PC_DIRECTORY_VER="${PC_DIRECTORY}/${PC_DIRECTORY_DELTA}"
- local DLL_FILENAME="\${libdir}/mono/${PC_NAME}/${DLL_NAME}"
dodir "${PC_DIRECTORY}"
dodir "${PC_DIRECTORY_VER}"
@@ -97,7 +116,7 @@ einstall_pc_file()
-e "s:@Name@:${CATEGORY}/${PN}:" \
-e "s:@DESCRIPTION@:${DESCRIPTION}:" \
-e "s:@LIBDIR@:$(get_libdir):" \
- -e "s*@LIBS@*-r:${DLL_FILENAME}*" \
+ -e "s*@LIBS@*${DLL_REFERENCES}*" \
<<-EOF >"${D}/${PC_DIRECTORY_VER}/${PC_FILENAME}.pc" || die
prefix=\${pcfiledir}/../..
exec_prefix=\${prefix}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2016-11-13 14:14 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2016-11-13 14:14 UTC (permalink / raw
To: gentoo-commits
commit: 9b1a87b06f7f7de87b6a9696506b98c493ecdf03
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sun Nov 13 10:10:56 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 10:10:56 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=9b1a87b0
NUSPEC_PROPS variable added
eclass/nupkg.eclass | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/eclass/nupkg.eclass b/eclass/nupkg.eclass
index ccf3983..33770cf 100644
--- a/eclass/nupkg.eclass
+++ b/eclass/nupkg.eclass
@@ -79,14 +79,17 @@ enuget_restore() {
# accepts path to .nuspec file as parameter
enuspec() {
if use nupkg; then
+ if [ -n "${NUSPEC_PROPERTIES}" ]; then
+ NUSPEC_PROPERTIES+=';'
+ fi
# see http://docs.nuget.org/create/nuspec-reference#specifying-files-to-include-in-the-package
# for the explaination why $configuration$ property is passed
if use debug; then
- PROPS=configuration=Debug
+ NUSPEC_PROPERTIES+="configuration=Debug"
else
- PROPS=configuration=Release
+ NUSPEC_PROPERTIES+="configuration=Release"
fi
- nuget pack -Properties "${PROPS}" -BasePath "${S}" -OutputDirectory "${WORKDIR}" -NonInteractive -Verbosity detailed "$@" || die
+ nuget pack -Properties "${NUSPEC_PROPERTIES}" -BasePath "${S}" -OutputDirectory "${WORKDIR}" -NonInteractive -Verbosity detailed "$@" || die
fi
}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] proj/dotnet:master commit in: eclass/
@ 2017-10-30 6:44 Mikhail Pukhlikov
0 siblings, 0 replies; 21+ messages in thread
From: Mikhail Pukhlikov @ 2017-10-30 6:44 UTC (permalink / raw
To: gentoo-commits
commit: adcccc244d4cbbb135fe4c26200af8ae1d408416
Author: ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Oct 29 23:52:19 2017 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 23:52:19 2017 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=adcccc24
forgotten file for antlrcs
eclass/dotbuildtask.eclass | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/eclass/dotbuildtask.eclass b/eclass/dotbuildtask.eclass
new file mode 100644
index 0000000..b5efbb5
--- /dev/null
+++ b/eclass/dotbuildtask.eclass
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# @ECLASS: dotbuildtask.eclass
+# @MAINTAINER: cynede@gentoo.org
+# @BLURB: functions for installing msbuild task assembly
+# @DESCRIPTION:
+# It is separated into it's own file to provide ability to define default src_install function for msbuild tasks ebuilds
+
+case ${EAPI:-0} in
+ 0) die "this eclass doesn't support EAPI 0" ;;
+ 1|2|3) ;;
+ *) ;; #if [[ ${USE_DOTNET} ]]; then REQUIRED_USE="|| (${USE_DOTNET})"; fi;;
+esac
+
+inherit multilib dotnet msbuild
+
+# @FUNCTION: get_MSBuildExtensionsPath
+# @DESCRIPTION: returns path to .targets files
+get_MSBuildExtensionsPath() {
+ echo /usr/share/msbuild
+}
+
+# @FUNCTION: get_MSBuildExtensionsPath
+# @DESCRIPTION: returns path to .targets files
+einstask() {
+ local state=a
+ for var in "$@"
+ do
+ case "${state}" in
+ a)
+ elog installing msbuild task dll "${var}" into "$(get_dotlibdir)"
+ insinto "$(get_dotlibdir)"
+ doins ${var}
+ insinto "$(get_MSBuildExtensionsPath)"
+ state=b
+ ;;
+ b)
+ elog installing file task dll "${var}" into "$(get_MSBuildExtensionsPath)"
+ doins ${var}
+ ;;
+ esac
+ done
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2017-10-30 6:45 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-22 16:46 [gentoo-commits] proj/dotnet:master commit in: eclass/ Heather Cynede
-- strict thread matches above, loose matches on Subject: below --
2017-10-30 6:44 Mikhail Pukhlikov
2016-11-13 14:14 Mikhail Pukhlikov
2016-10-04 6:14 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-19 16:12 Mikhail Pukhlikov
2016-08-17 9:44 Mikhail Pukhlikov
2016-07-31 8:52 Mikhail Pukhlikov
2015-10-17 6:40 Heather Cynede
2015-10-17 6:40 Heather Cynede
2015-09-19 10:59 Heather Cynede
2015-09-19 10:59 Heather Cynede
2015-08-18 8:01 Heather Cynede
2015-08-18 7:56 Heather Cynede
2015-08-17 13:55 Heather Cynede
2015-08-17 13:55 Heather Cynede
2015-08-13 8:14 Heather Cynede
2015-08-05 17:16 Heather Cynede
2015-06-25 7:04 Heather Cynede
2013-09-23 18:38 Heather Cynede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox