aboutsummaryrefslogtreecommitdiff
path: root/databases/pgloader
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-09-19 13:01:00 +0000
committerRene Ladan <rene@FreeBSD.org>2020-09-19 13:01:00 +0000
commitb2e5755eb8260645c1601d3b2f26c3298ff0e858 (patch)
tree28d1874e1dbd4cb62d6fbf7efe56d0063931b0ab /databases/pgloader
parentd8402760d93fe0876980bd6fe8578526f9254179 (diff)
Notes
Diffstat (limited to 'databases/pgloader')
-rw-r--r--databases/pgloader/Makefile41
-rw-r--r--databases/pgloader/distinfo2
-rw-r--r--databases/pgloader/pkg-descr22
-rw-r--r--databases/pgloader/pkg-plist50
4 files changed, 0 insertions, 115 deletions
diff --git a/databases/pgloader/Makefile b/databases/pgloader/Makefile
deleted file mode 100644
index f65ed08d9d2f..000000000000
--- a/databases/pgloader/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Created by: Pierre-Emmanuel Andre
-# $FreeBSD$
-
-PORTNAME= pgloader
-PORTVERSION= 2.3.1
-PORTREVISION= 5
-CATEGORIES= databases
-MASTER_SITES= http://pgfoundry.org/frs/download.php/1814/
-
-MAINTAINER= pea@raveland.org
-COMMENT= Import CSV data and Large Object to PostgreSQL
-
-DEPRECATED= Uses deprecated version of python
-EXPIRATION_DATE= 2020-09-15
-
-NO_BUILD= yes
-USES= python:2.7 shebangfix
-SHEBANG_FILES= *.py
-
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:databases/py-psycopg2@${PY_FLAVOR}
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-pre-configure:
- ${REINPLACE_CMD} -e 's,/usr/share/python-support,${PYTHON_SITELIBDIR},' ${WRKSRC}/pgloader/options.py
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pgloader.py ${STAGEDIR}${PREFIX}/bin/pgloader
- ${INSTALL_MAN} ${WRKSRC}/pgloader.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader
- @cd ${WRKSRC}/pgloader && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/
- ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/reformat
- @cd ${WRKSRC}/reformat && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/reformat/
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/pgloader.1.txt ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/databases/pgloader/distinfo b/databases/pgloader/distinfo
deleted file mode 100644
index 627407a698d6..000000000000
--- a/databases/pgloader/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pgloader-2.3.1.tar.gz) = b3d9a1429c61083aa0030231bf938ab97c228ce90a9052330461d17a2058f73d
-SIZE (pgloader-2.3.1.tar.gz) = 83071
diff --git a/databases/pgloader/pkg-descr b/databases/pgloader/pkg-descr
deleted file mode 100644
index 4a8d8c80c47d..000000000000
--- a/databases/pgloader/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-pgloader imports data from a flat file and inserts it into one or
-more PostgreSQL database tables. It uses a flat file per database
-table, and you can configure as many Sections as you want, each one
-associating a table name and a data file.
-
-Data are parsed and rewritten, then given to PostgreSQL COPY command.
-Parsing is necessary for dealing with end of lines and eventual trailing
-separator characters, and for column reordering: your flat data file may
-not have the same column order as the database table has.
-
-pgloader is also able to load some large objects data into PostgreSQL,
-as of now only Informix UNLOAD data files are supported. This command
-gives large objects data location information into the main data file.
-pgloader parse it add the text or bytea content properly escaped to the
-COPY data.
-
-pgloader issues some timing statistics every "commit_every" commits. At
-the end of processing each section, a summary of overall operations,
-numbers of rows copied and commits, time it took in seconds, errors
-logged and database errors is issued.
-
-WWW: http://pgfoundry.org/projects/pgloader/
diff --git a/databases/pgloader/pkg-plist b/databases/pgloader/pkg-plist
deleted file mode 100644
index fd282478010a..000000000000
--- a/databases/pgloader/pkg-plist
+++ /dev/null
@@ -1,50 +0,0 @@
-bin/pgloader
-%%PYTHON_SITELIBDIR%%/pgloader/__init__.py
-%%PYTHON_SITELIBDIR%%/pgloader/csvreader.py
-%%PYTHON_SITELIBDIR%%/pgloader/db.py
-%%PYTHON_SITELIBDIR%%/pgloader/fixedreader.py
-%%PYTHON_SITELIBDIR%%/pgloader/lo.py
-%%PYTHON_SITELIBDIR%%/pgloader/logger.py
-%%PYTHON_SITELIBDIR%%/pgloader/options.py
-%%PYTHON_SITELIBDIR%%/pgloader/options.py.bak
-%%PYTHON_SITELIBDIR%%/pgloader/pgloader.py
-%%PYTHON_SITELIBDIR%%/pgloader/reader.py
-%%PYTHON_SITELIBDIR%%/pgloader/reformat/README
-%%PYTHON_SITELIBDIR%%/pgloader/reformat/__init__.py
-%%PYTHON_SITELIBDIR%%/pgloader/reformat/mysql.py
-%%PYTHON_SITELIBDIR%%/pgloader/reformat/pgtime.py
-%%PYTHON_SITELIBDIR%%/pgloader/textreader.py
-%%PYTHON_SITELIBDIR%%/pgloader/tools.py
-man/man1/pgloader.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
-%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%PORTDOCS%%%%DOCSDIR%%/pgloader.1.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/allcols/allcols.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/allcols/allcols.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clob/clob.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clob/clob.out
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clob/clob.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cluttered/cluttered.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cluttered/cluttered.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csv/csv.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csv/csv.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errors/errors.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errors/errors.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed/fixed.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fixed/fixed.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parallel.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parallel.sections.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parallel/parallel.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parallel/parallel.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/partial/partial.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/partial/partial.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgloader.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reformat/reformat.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reformat/reformat.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serial/serial.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serial/serial.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/simple.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/simple.sql
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udc/udc.data
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udc/udc.sql