summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-11-09 18:14:44 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-11-09 18:15:18 +0100
commitd75ae5eb456cd7f67a021c827077559a0b41b032 (patch)
tree26e8da231331571794aa4b101acb6fbdee4dbeb0
parentc26c8820f296de41ce7093416b584cfdb6b657fa (diff)
travelynx no longer requires XML::LibXML
-rw-r--r--Dockerfile3
-rw-r--r--README.md1
-rw-r--r--cpanfile1
-rwxr-xr-xlib/Travelynx.pm1
-rw-r--r--lib/Travelynx/Helper/HAFAS.pm1
5 files changed, 0 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 63f33dc..316d274 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,8 +37,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libpq-dev \
libssl1.1 \
libssl-dev \
- libxml2 \
- libxml2-dev \
make \
zlib1g-dev \
&& cpanm -in --no-man-pages --installdeps . \
@@ -50,7 +48,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libc6-dev \
libdb5.3-dev \
libssl-dev \
- libxml2-dev \
make \
zlib1g-dev \
&& apt-get autoremove -y \
diff --git a/README.md b/README.md
index bca1b37..7addf0d 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,6 @@ Dependencies
* carton
* build-essential
* libpq-dev
- * libxml2-dev
* git
Installation
diff --git a/cpanfile b/cpanfile
index 17a84b8..5a8ff0f 100644
--- a/cpanfile
+++ b/cpanfile
@@ -18,4 +18,3 @@ requires 'Travel::Status::DE::IRIS';
requires 'UUID::Tiny';
requires 'JSON';
requires 'JSON::XS';
-requires 'XML::LibXML';
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 07b2a89..9121cd9 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -31,7 +31,6 @@ use Travelynx::Model::Journeys;
use Travelynx::Model::JourneyStatsCache;
use Travelynx::Model::Traewelling;
use Travelynx::Model::Users;
-use XML::LibXML;
sub check_password {
my ( $password, $hash ) = @_;
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm
index a8fbbfb..78e1c8f 100644
--- a/lib/Travelynx/Helper/HAFAS.pm
+++ b/lib/Travelynx/Helper/HAFAS.pm
@@ -13,7 +13,6 @@ use Encode qw(decode);
use JSON;
use Mojo::Promise;
use Travel::Status::DE::HAFAS;
-use XML::LibXML;
sub _epoch {
my ($dt) = @_;