public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/tbc:master commit in: dev-java/jcpp/, dev-java/jsemver/
@ 2016-05-30 14:42 M. B.
  0 siblings, 0 replies; 3+ messages in thread
From: M. B. @ 2016-05-30 14:42 UTC (permalink / raw
  To: gentoo-commits

commit:     c46c8eda66183043b5e7b90301c36ac1e344f797
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Mon May 30 14:39:59 2016 +0000
Commit:     M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Mon May 30 14:42:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=c46c8eda

add jsemver and jcpp

 dev-java/jcpp/Manifest                     |   1 +
 dev-java/jcpp/jcpp-1.4.12.ebuild           |  42 +++++++++++++++++++++++++++++
 dev-java/jcpp/metadata.xml                 |   8 ++++++
 dev-java/jsemver/.jsemver-0.9.0.ebuild.swp | Bin 0 -> 12288 bytes
 dev-java/jsemver/Manifest                  |   1 +
 dev-java/jsemver/jsemver-0.9.0.ebuild      |  41 ++++++++++++++++++++++++++++
 dev-java/jsemver/metadata.xml              |   8 ++++++
 7 files changed, 101 insertions(+)

diff --git a/dev-java/jcpp/Manifest b/dev-java/jcpp/Manifest
new file mode 100644
index 0000000..3bead6c
--- /dev/null
+++ b/dev-java/jcpp/Manifest
@@ -0,0 +1 @@
+DIST jcpp-1.4.12.tar.gz 102656 SHA256 6f07ff7a8ad7e5d0106513a27401b85a2caecdd91415155367c4cda9a6020035 SHA512 34e9583a0af4737b198041fca8925758df5d889827fb1be8b72f762d4154542e781a5bb17b52ee619f78a744521cb7e3cdaf1b7cd8ff4406b914b954ad5bc4d5 WHIRLPOOL 86448d8b9ed7db5baac8ec7ad40707b4224461dd49782567321d3dee77f8e944c552e166205b5762ce8307ab96766062dec064233838e2ea6a60ddbb2e394777

diff --git a/dev-java/jcpp/jcpp-1.4.12.ebuild b/dev-java/jcpp/jcpp-1.4.12.ebuild
new file mode 100644
index 0000000..dbb0c2c
--- /dev/null
+++ b/dev-java/jcpp/jcpp-1.4.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple vcs-snapshot
+
+DESCRIPTION="A complete, compliant, standalone, pure Java implementation of the C preprocessor"
+HOMEPAGE="https://github.com/shevek/jcpp"
+SRC_URI="https://github.com/shevek/jcpp/archive/1119d798e56ca37f2f976f196e6c27f70f39508b.tar.gz
+	-> jcpp-1.4.12.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test"
+
+COMMON_DEP="dev-util/findbugs:0
+	dev-java/ant-core:0
+	dev-java/guava:18
+	dev-java/jopt-simple:0
+	dev-java/jsemver:0
+	dev-java/jsr305:0
+	dev-java/junit:4
+	dev-java/slf4j-api:0"
+
+RDEPEND=">=virtual/jre-1.5
+	${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+	${COMMON_DEP}"
+
+JAVA_GENTOO_CLASSPATH="ant-core findbugs guava-18 jopt-simple jsemver jsr305 junit-4 slf4j-api"
+
+src_install() {
+	java-pkg_dojar "${PN}.jar"
+	use doc && java-pkg_dojavadoc target/api
+	use source && java-pkg_dosrc "${S}/src"
+}

diff --git a/dev-java/jcpp/metadata.xml b/dev-java/jcpp/metadata.xml
new file mode 100644
index 0000000..952a4b9
--- /dev/null
+++ b/dev-java/jcpp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+		<name>Java</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-java/jsemver/.jsemver-0.9.0.ebuild.swp b/dev-java/jsemver/.jsemver-0.9.0.ebuild.swp
new file mode 100644
index 0000000..fff604d
Binary files /dev/null and b/dev-java/jsemver/.jsemver-0.9.0.ebuild.swp differ

diff --git a/dev-java/jsemver/Manifest b/dev-java/jsemver/Manifest
new file mode 100644
index 0000000..5907225
--- /dev/null
+++ b/dev-java/jsemver/Manifest
@@ -0,0 +1 @@
+DIST jsemver-0.9.0.tar.gz 31224 SHA256 9c5cbf3b8ab74d37b8f7fc51d448b4bf245b81616a9491bb26de9dc53444684b SHA512 785fafc700e10b44af079abfea5b7309dad87e4063100b8b49d75bf21356b99aaa74e0661d62605d3a66a305cf15c7bad3795abc160e0a4e9e4678eff8a8fd60 WHIRLPOOL 86e21480cb9bc2c378fea744991275a7d470e3c6ef1ad1086d5c09390de0e4b765456ba7b3eee98793f11f07eb27c295ba8c46282aa259d625e44b82cba8a826

diff --git a/dev-java/jsemver/jsemver-0.9.0.ebuild b/dev-java/jsemver/jsemver-0.9.0.ebuild
new file mode 100644
index 0000000..66170b2
--- /dev/null
+++ b/dev-java/jsemver/jsemver-0.9.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java implementation of the Semantic Versioning Specification"
+HOMEPAGE="https://github.com/zafarkhaja/jsemver"
+SRC_URI="https://github.com/zafarkhaja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/junit:4"
+
+RDEPEND=">=virtual/jre-1.5
+  ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+  ${COMMON_DEP}"
+
+EANT_BUILD_TARGET=""
+EANT_DOC_TARGET=""
+
+JAVA_GENTOO_CLASSPATH="junit-4"
+
+src_install() {
+  java-pkg_dojar "${PN}.jar"
+  use doc && java-pkg_dojavadoc target/api
+  if [[ -d "${P}/src/org" ]]; then
+  use source && java-pkg_dosrc "${P}/src/org"
+  else
+	  die
+  fi
+}

diff --git a/dev-java/jsemver/metadata.xml b/dev-java/jsemver/metadata.xml
new file mode 100644
index 0000000..952a4b9
--- /dev/null
+++ b/dev-java/jsemver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+		<name>Java</name>
+	</maintainer>
+</pkgmetadata>


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

* [gentoo-commits] repo/user/tbc:master commit in: dev-java/jcpp/, dev-java/jsemver/
@ 2016-05-30 14:45 M. B.
  0 siblings, 0 replies; 3+ messages in thread
From: M. B. @ 2016-05-30 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     a9e14527e24fe879b92e7ab73acf52788d9dda55
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Mon May 30 14:39:59 2016 +0000
Commit:     M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Mon May 30 14:45:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=a9e14527

add jsemver and jcpp

 dev-java/jcpp/Manifest                |  1 +
 dev-java/jcpp/jcpp-1.4.12.ebuild      | 42 +++++++++++++++++++++++++++++++++++
 dev-java/jcpp/metadata.xml            |  8 +++++++
 dev-java/jsemver/Manifest             |  1 +
 dev-java/jsemver/jsemver-0.9.0.ebuild | 37 ++++++++++++++++++++++++++++++
 dev-java/jsemver/metadata.xml         |  8 +++++++
 6 files changed, 97 insertions(+)

diff --git a/dev-java/jcpp/Manifest b/dev-java/jcpp/Manifest
new file mode 100644
index 0000000..3bead6c
--- /dev/null
+++ b/dev-java/jcpp/Manifest
@@ -0,0 +1 @@
+DIST jcpp-1.4.12.tar.gz 102656 SHA256 6f07ff7a8ad7e5d0106513a27401b85a2caecdd91415155367c4cda9a6020035 SHA512 34e9583a0af4737b198041fca8925758df5d889827fb1be8b72f762d4154542e781a5bb17b52ee619f78a744521cb7e3cdaf1b7cd8ff4406b914b954ad5bc4d5 WHIRLPOOL 86448d8b9ed7db5baac8ec7ad40707b4224461dd49782567321d3dee77f8e944c552e166205b5762ce8307ab96766062dec064233838e2ea6a60ddbb2e394777

diff --git a/dev-java/jcpp/jcpp-1.4.12.ebuild b/dev-java/jcpp/jcpp-1.4.12.ebuild
new file mode 100644
index 0000000..dbb0c2c
--- /dev/null
+++ b/dev-java/jcpp/jcpp-1.4.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple vcs-snapshot
+
+DESCRIPTION="A complete, compliant, standalone, pure Java implementation of the C preprocessor"
+HOMEPAGE="https://github.com/shevek/jcpp"
+SRC_URI="https://github.com/shevek/jcpp/archive/1119d798e56ca37f2f976f196e6c27f70f39508b.tar.gz
+	-> jcpp-1.4.12.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test"
+
+COMMON_DEP="dev-util/findbugs:0
+	dev-java/ant-core:0
+	dev-java/guava:18
+	dev-java/jopt-simple:0
+	dev-java/jsemver:0
+	dev-java/jsr305:0
+	dev-java/junit:4
+	dev-java/slf4j-api:0"
+
+RDEPEND=">=virtual/jre-1.5
+	${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+	${COMMON_DEP}"
+
+JAVA_GENTOO_CLASSPATH="ant-core findbugs guava-18 jopt-simple jsemver jsr305 junit-4 slf4j-api"
+
+src_install() {
+	java-pkg_dojar "${PN}.jar"
+	use doc && java-pkg_dojavadoc target/api
+	use source && java-pkg_dosrc "${S}/src"
+}

diff --git a/dev-java/jcpp/metadata.xml b/dev-java/jcpp/metadata.xml
new file mode 100644
index 0000000..952a4b9
--- /dev/null
+++ b/dev-java/jcpp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+		<name>Java</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-java/jsemver/Manifest b/dev-java/jsemver/Manifest
new file mode 100644
index 0000000..5907225
--- /dev/null
+++ b/dev-java/jsemver/Manifest
@@ -0,0 +1 @@
+DIST jsemver-0.9.0.tar.gz 31224 SHA256 9c5cbf3b8ab74d37b8f7fc51d448b4bf245b81616a9491bb26de9dc53444684b SHA512 785fafc700e10b44af079abfea5b7309dad87e4063100b8b49d75bf21356b99aaa74e0661d62605d3a66a305cf15c7bad3795abc160e0a4e9e4678eff8a8fd60 WHIRLPOOL 86e21480cb9bc2c378fea744991275a7d470e3c6ef1ad1086d5c09390de0e4b765456ba7b3eee98793f11f07eb27c295ba8c46282aa259d625e44b82cba8a826

diff --git a/dev-java/jsemver/jsemver-0.9.0.ebuild b/dev-java/jsemver/jsemver-0.9.0.ebuild
new file mode 100644
index 0000000..072e65a
--- /dev/null
+++ b/dev-java/jsemver/jsemver-0.9.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java implementation of the Semantic Versioning Specification"
+HOMEPAGE="https://github.com/zafarkhaja/jsemver"
+SRC_URI="https://github.com/zafarkhaja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/junit:4"
+
+RDEPEND=">=virtual/jre-1.5
+	${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+	${COMMON_DEP}"
+
+EANT_BUILD_TARGET=""
+EANT_DOC_TARGET=""
+
+JAVA_GENTOO_CLASSPATH="junit-4"
+
+src_install() {
+	java-pkg_dojar "${PN}.jar"
+	use doc && java-pkg_dojavadoc target/api
+	use source && java-pkg_dosrc "${P}/src/org"
+}

diff --git a/dev-java/jsemver/metadata.xml b/dev-java/jsemver/metadata.xml
new file mode 100644
index 0000000..952a4b9
--- /dev/null
+++ b/dev-java/jsemver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>java@gentoo.org</email>
+		<name>Java</name>
+	</maintainer>
+</pkgmetadata>


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

* [gentoo-commits] repo/user/tbc:master commit in: dev-java/jcpp/, dev-java/jsemver/
@ 2016-05-31 14:06 M. B.
  0 siblings, 0 replies; 3+ messages in thread
From: M. B. @ 2016-05-31 14:06 UTC (permalink / raw
  To: gentoo-commits

commit:     41e11899654391ff547102dd2d43ec46d6f9241d
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Tue May 31 13:40:08 2016 +0000
Commit:     M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Tue May 31 14:06:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=41e11899

update jcpp and jsemver

 dev-java/jcpp/jcpp-1.4.12.ebuild      | 27 +++++++++++----------------
 dev-java/jsemver/jsemver-0.9.0.ebuild | 20 +++++++-------------
 2 files changed, 18 insertions(+), 29 deletions(-)

diff --git a/dev-java/jcpp/jcpp-1.4.12.ebuild b/dev-java/jcpp/jcpp-1.4.12.ebuild
index 47fb011..94909b0 100644
--- a/dev-java/jcpp/jcpp-1.4.12.ebuild
+++ b/dev-java/jcpp/jcpp-1.4.12.ebuild
@@ -5,38 +5,33 @@
 EAPI=5
 
 JAVA_PKG_IUSE="doc source"
-
 inherit java-pkg-2 java-pkg-simple vcs-snapshot
 
-DESCRIPTION="A complete, compliant, standalone, pure Java implementation of the C preprocessor"
+COMMIT="1119d798e56ca37f2f976f196e6c27f70f39508b"
+DESCRIPTION="A complete, compliant, standalone Java implementation of the C preprocessor"
 HOMEPAGE="https://github.com/shevek/jcpp"
-SRC_URI="https://github.com/shevek/jcpp/archive/1119d798e56ca37f2f976f196e6c27f70f39508b.tar.gz
-	-> jcpp-1.4.12.tar.gz"
-
+SRC_URI="https://github.com/shevek/${PN}/archive/${COMMIT}.tar.gz -> jcpp-1.4.12.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
-IUSE="test"
+IUSE=""
 
 COMMON_DEP="dev-util/findbugs:0
 	dev-java/ant-core:0
-	dev-java/guava:18
 	dev-java/jopt-simple:0
 	dev-java/jsemver:0
 	dev-java/jsr305:0
-	dev-java/junit:4
 	dev-java/slf4j-api:0"
-
-RDEPEND=">=virtual/jre-1.5
+RDEPEND=">=virtual/jre-1.7
 	${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.5
+DEPEND=">=virtual/jdk-1.7
 	${COMMON_DEP}"
 
-JAVA_GENTOO_CLASSPATH="ant-core findbugs guava-18 jopt-simple jsemver jsr305 junit-4 slf4j-api"
+S="${WORKDIR}/${P}"
+JAVA_SRC_DIR="src/main/java"
+JAVA_GENTOO_CLASSPATH="ant-core,findbugs,jopt-simple,jsemver,jsr305,slf4j-api"
 
 src_install() {
-	java-pkg_dojar "${PN}.jar"
-	use doc && java-pkg_dojavadoc target/api
-	use source && java-pkg_dosrc "${P}"/src/{main,test}/java/*
+	java-pkg-simple_src_install
+	dodoc README.md
 }

diff --git a/dev-java/jsemver/jsemver-0.9.0.ebuild b/dev-java/jsemver/jsemver-0.9.0.ebuild
index a6af20c..cb5a3ef 100644
--- a/dev-java/jsemver/jsemver-0.9.0.ebuild
+++ b/dev-java/jsemver/jsemver-0.9.0.ebuild
@@ -11,27 +11,21 @@ inherit java-pkg-2 java-pkg-simple
 DESCRIPTION="Java implementation of the Semantic Versioning Specification"
 HOMEPAGE="https://github.com/zafarkhaja/jsemver"
 SRC_URI="https://github.com/zafarkhaja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
 IUSE=""
 
-COMMON_DEP="dev-java/junit:4"
-
-RDEPEND=">=virtual/jre-1.5
+COMMON_DEP=""
+RDEPEND=">=virtual/jre-1.7
 	${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.5
+DEPEND=">=virtual/jdk-1.7
 	${COMMON_DEP}"
 
-EANT_BUILD_TARGET=""
-EANT_DOC_TARGET=""
-
-JAVA_GENTOO_CLASSPATH="junit-4"
+S="${WORKDIR}/${P}"
+JAVA_SRC_DIR="src/main/java"
 
 src_install() {
-	java-pkg_dojar "${PN}.jar"
-	use doc && java-pkg_dojavadoc target/api
-	use source && java-pkg_dosrc "${P}"/src/{main,test}/java/*
+	java-pkg-simple_src_install
+	dodoc README.md
 }


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

end of thread, other threads:[~2016-05-31 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 14:42 [gentoo-commits] repo/user/tbc:master commit in: dev-java/jcpp/, dev-java/jsemver/ M. B.
  -- strict thread matches above, loose matches on Subject: below --
2016-05-30 14:45 M. B.
2016-05-31 14:06 M. B.

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