Skip to content
Commits on Source (8)
jep (2.4.1+ds-2) unstable; urgency=medium
* Leaving only the location of GPL-2 license on Debian OS. Collecting
copyright years from files headers.
* Dropping -doc package.
* Adding a patch to remove prebuilt files instead of doing so in
debian/rules.
-- Andrius Merkys <merkys@debian.org> Mon, 18 Nov 2019 02:10:39 -0500
jep (2.4.1+ds-1) unstable; urgency=low
* Initial release. (Closes: #934544)
......
......@@ -30,22 +30,3 @@ Description: Java Expression Parser
instantly evaluate it. Jep supports user defined variables, constants, and
functions. A number of common mathematical functions and constants are
included.
Package: libjep-java-doc
Architecture: all
Section: doc
Depends:
libjs-jquery,
libjs-jquery-ui,
${java:Depends},
${misc:Depends},
Recommends:
${java:Recommends},
Description: Java Expression Parser - documentation
Jep Java parses and evaluates mathematical expressions with only a few lines
of code. This package allows your users to enter a formula as a string, and
instantly evaluate it. Jep supports user defined variables, constants, and
functions. A number of common mathematical functions and constants are
included.
.
This package contains the Javadoc API
......@@ -9,27 +9,13 @@ Files-Excluded:
Comment: Precompiled files are removed.
Files: *
Copyright: 2019 Nathan Funk and Richard Morris
Copyright: 2002-2007, Nathan Funk and Richard Morris
License: GPL-2
Files: debian/*
Copyright: 2019 Andrius Merkys <merkys@debian.org>
Copyright: 2019, Andrius Merkys <merkys@debian.org>
License: GPL-2
License: GPL-2
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
This diff is collapsed.
runtests.patch
remove-prebuilt-files.patch
......@@ -9,17 +9,12 @@ export JAVACCHOME=/usr/share/java
export CLASSPATH=/usr/share/java/jama.jar
UPSTREAM_VER := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d + -f 1)
JQUERY_DIR = $(CURDIR)/debian/libjep-java-doc/usr/share/doc/libjep-java-doc/api/jquery
%:
dh $@ --with javahelper
override_dh_auto_build:
mkdir debian/old
mv src/org/nfunk/jep/Token.java src/org/nfunk/jep/TokenMgrError.java \
src/org/nfunk/jep/JavaCharStream.java src/org/nfunk/jep/ParseException.java \
debian/old/
dh_auto_build -- jar javadoc
dh_auto_build -- jar
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
......@@ -28,17 +23,3 @@ endif
override_jh_installlibs:
jh_installlibs dist/jep-$(UPSTREAM_VER).jar
override_dh_installdocs:
dh_installdocs
ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/external/jquery/jquery.js
ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/jquery-3*.js
ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.css ${JQUERY_DIR}/jquery-ui.css
ln -fs /usr/share/javascript/jquery-ui/jquery-ui.js ${JQUERY_DIR}/jquery-ui.js
ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css ${JQUERY_DIR}/jquery-ui.min.css
ln -fs /usr/share/javascript/jquery-ui/jquery-ui.min.js ${JQUERY_DIR}/jquery-ui.min.js
override_dh_clean:
-find debian/old -name '*.java' | xargs -i mv {} src/org/nfunk/jep/
rm -rf doc/javadoc debian/old
dh_clean