diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-11-09 18:14:44 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-11-09 18:15:18 +0100 |
commit | d75ae5eb456cd7f67a021c827077559a0b41b032 (patch) | |
tree | 26e8da231331571794aa4b101acb6fbdee4dbeb0 | |
parent | c26c8820f296de41ce7093416b584cfdb6b657fa (diff) |
travelynx no longer requires XML::LibXML
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | cpanfile | 1 | ||||
-rwxr-xr-x | lib/Travelynx.pm | 1 | ||||
-rw-r--r-- | lib/Travelynx/Helper/HAFAS.pm | 1 |
5 files changed, 0 insertions, 7 deletions
@@ -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 \ @@ -18,7 +18,6 @@ Dependencies * carton * build-essential * libpq-dev - * libxml2-dev * git Installation @@ -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) = @_; |