From d75ae5eb456cd7f67a021c827077559a0b41b032 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 9 Nov 2022 18:14:44 +0100 Subject: travelynx no longer requires XML::LibXML --- Dockerfile | 3 --- README.md | 1 - cpanfile | 1 - lib/Travelynx.pm | 1 - lib/Travelynx/Helper/HAFAS.pm | 1 - 5 files changed, 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) = @_; -- cgit v1.2.3