diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/apgdiff/Manifest | 4 | ||||
-rw-r--r-- | dev-db/apgdiff/apgdiff-2.5.0_alpha20201105.ebuild | 53 | ||||
-rw-r--r-- | dev-db/apgdiff/apgdiff-2.7.0.ebuild | 28 |
3 files changed, 30 insertions, 55 deletions
diff --git a/dev-db/apgdiff/Manifest b/dev-db/apgdiff/Manifest index dfb3d73..27dd375 100644 --- a/dev-db/apgdiff/Manifest +++ b/dev-db/apgdiff/Manifest @@ -1,3 +1,3 @@ -DIST apgdiff-2.5.0_alpha20201105.zip 501650 BLAKE2B ba78017e8c938c635451b4a225c815b61e7dddc1aea7c10c7c6286da044b45bd894a9094f02e8ce40f681c392357189dc3997bae0fc17e5f666f901b48fb6a26 SHA512 f506ca0ec1f3cc0648f6f39a9a0e13faa9fa38ef5ebc4051f177fa67328032f6e70cad31134a50743a72fbcd1cc1532f13ed86bb26c06018efa54d860ec3a0f4 -EBUILD apgdiff-2.5.0_alpha20201105.ebuild 1197 BLAKE2B c5d1bc0a98e12ae5ba00cc992e573ef0a1b50d6bbd425d7478d3c0b38790065c7977a42d279f1beda97ef3336ac5393147c2a00333001c7ebd4ee4368cba37b9 SHA512 9aeb112842bb2e203046d560e6cbd0a7e05389419c362826f94afaa03807450763a7f61604b2caae35cc09cc39dc532de89e01df70331b91270da0cd46a9b128 +DIST apgdiff-2.7.0.tar.gz 365759 BLAKE2B 6a43bea29fa77a6a07b8599b150769e42480e656d7930faf56dd5db89a2281e10baee596e78d245411879ca99e143d3ebfb6144ea68b5d2f56f7f939004897dc SHA512 db52bcf5af78339ab08cd6a5225d7df9d55cf4eb1bcefaf9e9b12f8ac06f7babb2261ac92b7aa49a6f43a39f9e7894f4dea88b1b794f0a87681ab872c5d1d430 +EBUILD apgdiff-2.7.0.ebuild 767 BLAKE2B a7ec586aa1021a1b73e322912464ac789c3dcd09b834e636b5055fa33f7d7dd6fbccba2ac04c07630b2185bc56f8482cea2f2b53452c7ddf8769dc44f1115dff SHA512 574cce1d4955fdd4f10032ca17dd249ada4329d40f8b83f690b440dbba6b4edaff4da046954fa441486d2788db3ef8ab1feaf1657803eaa7420ccf6eae8cc4b6 MISC metadata.xml 301 BLAKE2B f760bd727a4a0cc9572e5ff436dd66ef64d8f734e8605ce15599645a6ccfaef3b0d17348d916894171e99e6920ba60b0e4a13917f9445562473dbd5949ce6f55 SHA512 c38dc6bf13779d6e575526c42fc108080b160b9a7127aaea7f93b8a7ca46dbee5d349e95bfbc8a598c745ba0d2c8ce8ce6ea65a475854ad4d5a85e3620166552 diff --git a/dev-db/apgdiff/apgdiff-2.5.0_alpha20201105.ebuild b/dev-db/apgdiff/apgdiff-2.5.0_alpha20201105.ebuild deleted file mode 100644 index 2cc9847..0000000 --- a/dev-db/apgdiff/apgdiff-2.5.0_alpha20201105.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -JAVA_PKG_IUSE="doc source" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="A simple PostgreSQL diff tool that is useful for schema upgrades" -HOMEPAGE="https://apgdiff.com" -USV="6c6defaa50aad109de8a85b37202591c0b98f784" -SRC_URI="https://github.com/fordfrog/${PN}/archive/${USV}.zip -> ${P}.zip" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=virtual/jdk-1.6 - >=dev-java/ant-core-1.7.0:0 - >=dev-java/ant-junit-1.7.0:0 - app-arch/zip:0 - test? ( - dev-java/hamcrest-core:0 - >=dev-java/junit-4.4:4 - )" - -RDEPEND=">=virtual/jre-1.6" -S=${WORKDIR}/${PN}-${USV} - -java_prepare() { - mkdir "${S}"/lib - cd "${S}"/lib - if use test ; then - java-pkg_jar-from --build-only hamcrest-core - java-pkg_jar-from --build-only junit-4 - fi -} - -src_compile() { - eant -Dnoget=true jar $(use_doc) -} - -src_install() { - java-pkg_newjar dist/${PN}-*.jar ${PN}.jar - java-pkg_dolauncher apgdiff --jar ${PN}.jar - - use doc && java-pkg_dojavadoc dist/javadoc - use source && java-pkg_dosrc src/main/java/* -} - -src_test() { - ANT_TASKS="ant-junit" eant -Dnoget=true test -} diff --git a/dev-db/apgdiff/apgdiff-2.7.0.ebuild b/dev-db/apgdiff/apgdiff-2.7.0.ebuild new file mode 100644 index 0000000..cbeba17 --- /dev/null +++ b/dev-db/apgdiff/apgdiff-2.7.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +JAVA_PKG_IUSE="doc source" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="A simple PostgreSQL diff tool that is useful for schema upgrades" +HOMEPAGE="https://apgdiff.com" +SRC_URI="https://github.com/fordfrog/${PN}/archive/refs/tags/release_${PN}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8 + >=dev-java/ant-core-1.7.0:0 + app-arch/zip:0 +" +RDEPEND=">=virtual/jre-1.8" +S=${WORKDIR}/${PN}-release_${PV} + +src_install() { + java-pkg_newjar dist/${PN}-*.jar ${PN}.jar + java-pkg_dolauncher apgdiff --jar ${PN}.jar + + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src/main/java/* +} |