python3-dateutil: New package required by python3-botocore
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 14 Aug 2018 12:13:07 +0000 (13:13 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 14 Aug 2018 12:13:07 +0000 (13:13 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/packages/python3-dateutil [new file with mode: 0644]
lfs/python3-botocore
lfs/python3-dateutil [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/python3-dateutil b/config/rootfiles/packages/python3-dateutil
new file mode 100644 (file)
index 0000000..1d0de62
--- /dev/null
@@ -0,0 +1,52 @@
+usr/lib/python3.6/site-packages/dateutil
+#usr/lib/python3.6/site-packages/dateutil/__init__.py
+#usr/lib/python3.6/site-packages/dateutil/__pycache__
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/__init__.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/_common.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/_version.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/easter.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/relativedelta.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/rrule.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/tzwin.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/__pycache__/utils.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/_common.py
+#usr/lib/python3.6/site-packages/dateutil/_version.py
+#usr/lib/python3.6/site-packages/dateutil/easter.py
+#usr/lib/python3.6/site-packages/dateutil/parser
+#usr/lib/python3.6/site-packages/dateutil/parser/__init__.py
+#usr/lib/python3.6/site-packages/dateutil/parser/__pycache__
+#usr/lib/python3.6/site-packages/dateutil/parser/__pycache__/__init__.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/parser/__pycache__/_parser.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/parser/__pycache__/isoparser.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/parser/_parser.py
+#usr/lib/python3.6/site-packages/dateutil/parser/isoparser.py
+#usr/lib/python3.6/site-packages/dateutil/relativedelta.py
+#usr/lib/python3.6/site-packages/dateutil/rrule.py
+#usr/lib/python3.6/site-packages/dateutil/tz
+#usr/lib/python3.6/site-packages/dateutil/tz/__init__.py
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/__init__.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/_common.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/_factories.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/tz.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/win.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/tz/_common.py
+#usr/lib/python3.6/site-packages/dateutil/tz/_factories.py
+#usr/lib/python3.6/site-packages/dateutil/tz/tz.py
+#usr/lib/python3.6/site-packages/dateutil/tz/win.py
+#usr/lib/python3.6/site-packages/dateutil/tzwin.py
+#usr/lib/python3.6/site-packages/dateutil/utils.py
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/__init__.py
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/__pycache__
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-36.pyc
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
+#usr/lib/python3.6/site-packages/dateutil/zoneinfo/rebuild.py
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/PKG-INFO
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/SOURCES.txt
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/dependency_links.txt
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/requires.txt
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/top_level.txt
+#usr/lib/python3.6/site-packages/python_dateutil-0.0.0-py3.6.egg-info/zip-safe
index 13e4f9c..f0b235e 100644 (file)
@@ -34,7 +34,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = python3-botocore
 PAK_VER    = 1
 
-DEPS       = "python3"
+DEPS       = "python3 python3-dateutil"
 
 ###############################################################################
 # Top-level Rules
diff --git a/lfs/python3-dateutil b/lfs/python3-dateutil
new file mode 100644 (file)
index 0000000..73fbe1b
--- /dev/null
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# 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 3 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, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 2.7.3
+
+THISAPP    = python-dateutil-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = python3-dateutil
+PAK_VER    = 1
+
+DEPS       = "python3"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 175b7c1a3cc0cb01151eced07c61c0b8
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && sed -e "/setup_requires=/d" -i setup.py
+       cd $(DIR_APP) && python3 setup.py build
+       cd $(DIR_APP) && python3 setup.py install --root=/
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 8e365b7..44f3d4d 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1489,6 +1489,7 @@ buildipfire() {
   lfsmake2 python-progressbar
   lfsmake2 python-xattr
   lfsmake2 ddns
+  lfsmake2 python3-dateutil
   lfsmake2 python3-botocore
   lfsmake2 aws-cli
   lfsmake2 transmission