summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-06-21 21:36:19 -0700
committerZac Medico <zmedico@gentoo.org>2021-06-21 22:04:03 -0700
commitc4ae2a83960893e216b06a3e4df606873c1ef34d (patch)
tree2195b438b81299c24645af2edcc2c833f16a8cae /dev-python/csvkit
parentdev-python/agate-sql: Initial import (diff)
downloadgentoo-c4ae2a83960893e216b06a3e4df606873c1ef34d.tar.gz
gentoo-c4ae2a83960893e216b06a3e4df606873c1ef34d.tar.bz2
gentoo-c4ae2a83960893e216b06a3e4df606873c1ef34d.zip
dev-python/csvkit: Initial import
tests/test_cleanup.py::TestCleanup::test_fix_rows PASSED [ 0%] tests/test_cleanup.py::TestCleanup::test_real_world_join_fail PASSED [ 0%] tests/test_cli.py::TestCli::test_match_column_identifier_numeric PASSED [ 1%] tests/test_cli.py::TestCli::test_match_column_identifier_string PASSED [ 1%] tests/test_cli.py::TestCli::test_match_column_which_could_be_integer_name_is_treated_as_positional_id PASSED [ 1%] tests/test_cli.py::TestCli::test_parse_column_identifiers PASSED [ 2%] tests/test_cli.py::TestCli::test_range_notation PASSED [ 2%] tests/test_cli.py::TestCli::test_range_notation_open_ended PASSED [ 3%] tests/test_grep.py::TestGrep::test_any_match PASSED [ 3%] tests/test_grep.py::TestGrep::test_any_match_and_inverse PASSED [ 3%] tests/test_grep.py::TestGrep::test_column_names_in_patterns PASSED [ 4%] tests/test_grep.py::TestGrep::test_duplicate_column_ids_in_patterns PASSED [ 4%] tests/test_grep.py::TestGrep::test_index_out_of_range PASSED [ 4%] tests/test_grep.py::TestGrep::test_inverse PASSED [ 5%] tests/test_grep.py::TestGrep::test_mixed_indices_and_column_names_in_patterns PASSED [ 5%] tests/test_grep.py::TestGrep::test_multiline PASSED [ 6%] tests/test_grep.py::TestGrep::test_no_header PASSED [ 6%] tests/test_grep.py::TestGrep::test_pattern PASSED [ 6%] tests/test_grep.py::TestGrep::test_regex PASSED [ 7%] tests/test_convert/test_convert.py::TestConvert::test_guess_csv PASSED [ 7%] tests/test_convert/test_convert.py::TestConvert::test_guess_dbf PASSED [ 8%] tests/test_convert/test_convert.py::TestConvert::test_guess_fixed PASSED [ 8%] tests/test_convert/test_convert.py::TestConvert::test_guess_invalid PASSED [ 8%] tests/test_convert/test_convert.py::TestConvert::test_guess_json PASSED [ 9%] tests/test_convert/test_convert.py::TestConvert::test_guess_xls PASSED [ 9%] tests/test_convert/test_convert.py::TestConvert::test_guess_xls_uppercase PASSED [ 9%] tests/test_convert/test_convert.py::TestConvert::test_guess_xlsx PASSED [ 10%] tests/test_convert/test_fixed.py::TestFixed::test_fixed PASSED [ 10%] tests/test_convert/test_fixed.py::TestFixed::test_fixed_no_inference PASSED [ 11%] tests/test_convert/test_fixed.py::TestFixed::test_fixed_skip_lines PASSED [ 11%] tests/test_convert/test_fixed.py::TestFixed::test_fixed_streaming PASSED [ 11%] tests/test_convert/test_fixed.py::TestFixed::test_one_based_row_decoder PASSED [ 12%] tests/test_convert/test_fixed.py::TestFixed::test_schema_decoder_in_action PASSED [ 12%] tests/test_convert/test_fixed.py::TestFixed::test_schema_decoder_init PASSED [ 13%] tests/test_convert/test_fixed.py::TestFixed::test_schematic_line_parser PASSED [ 13%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_changes_character_encoding PASSED [ 13%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_changes_line_endings PASSED [ 14%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_dry_run PASSED [ 14%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_empty <- tests/utils.py PASSED [ 14%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_launch_new_instance PASSED [ 15%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_no_header_row PASSED [ 15%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_removes_bom PASSED [ 16%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_removes_optional_quote_characters PASSED [ 16%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_simple PASSED [ 16%] tests/test_utilities/test_csvclean.py::TestCSVClean::test_skip_lines PASSED [ 17%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_delete_empty PASSED [ 17%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_empty <- tests/utils.py PASSED [ 18%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_exclude PASSED [ 18%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_include_and_exclude PASSED [ 18%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_invalid_column <- tests/utils.py PASSED [ 19%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_invalid_options <- tests/utils.py PASSED [ 19%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_launch_new_instance PASSED [ 19%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_names <- tests/utils.py PASSED [ 20%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_names_with_skip_lines PASSED [ 20%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_no_header_row PASSED [ 21%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_ragged PASSED [ 21%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_simple PASSED [ 21%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_skip_lines PASSED [ 22%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_truncate PASSED [ 22%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_unicode PASSED [ 22%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_with_bzip2 PASSED [ 23%] tests/test_utilities/test_csvcut.py::TestCSVCut::test_with_gzip PASSED [ 23%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_delimiter PASSED [ 24%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_doublequote PASSED [ 24%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_empty <- tests/utils.py PASSED [ 24%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_escapechar PASSED [ 25%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_launch_new_instance PASSED [ 25%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_linenumbers PASSED [ 26%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_lineterminator PASSED [ 26%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_no_header_row PASSED [ 26%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_quotechar PASSED [ 27%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_skip_lines PASSED [ 27%] tests/test_utilities/test_csvformat.py::TestCSVFormat::test_tab_delimiter PASSED [ 27%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_any_match PASSED [ 28%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_empty <- tests/utils.py PASSED [ 28%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_invalid_column <- tests/utils.py PASSED [ 29%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_invalid_options <- tests/utils.py PASSED [ 29%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_invert_match PASSED [ 29%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_kwargs_with_line_numbers PASSED [ 30%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_launch_new_instance PASSED [ 30%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_match PASSED [ 31%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_match_utf8 PASSED [ 31%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_match_utf8_bom PASSED [ 31%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_match_with_line_numbers PASSED [ 32%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_names <- tests/utils.py PASSED [ 32%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_no_match PASSED [ 32%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_re_match PASSED [ 33%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_re_match_utf8 PASSED [ 33%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_skip_lines PASSED [ 34%] tests/test_utilities/test_csvgrep.py::TestCSVGrep::test_string_match PASSED [ 34%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_blanks PASSED [ 34%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_empty <- tests/utils.py PASSED [ 35%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_inner PASSED [ 35%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_launch_new_instance PASSED [ 36%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_left PASSED [ 36%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_left_short_columns PASSED [ 36%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_no_blanks PASSED [ 37%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_no_header_row PASSED [ 37%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_no_inference PASSED [ 37%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_outer PASSED [ 38%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_right PASSED [ 38%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_sequential PASSED [ 39%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_single PASSED [ 39%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_sniff_limit_no_limit PASSED [ 39%] tests/test_utilities/test_csvjoin.py::TestCSVJoin::test_sniff_limit_zero_limit PASSED [ 40%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_blanks PASSED [ 40%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_duplicate_keys PASSED [ 40%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_empty <- tests/utils.py PASSED [ 41%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_geojson_point PASSED [ 41%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_geojson_shape PASSED [ 42%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_geojson_with_crs PASSED [ 42%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_geojson_with_id PASSED [ 42%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_geojson_with_no_bbox PASSED [ 43%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_indentation PASSED [ 43%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_keying PASSED [ 44%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_launch_new_instance PASSED [ 44%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_ndgeojson PASSED [ 44%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_ndgeojson_streaming PASSED [ 45%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_ndjson PASSED [ 45%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_ndjson_streaming PASSED [ 45%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_no_blanks PASSED [ 46%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_no_header_row PASSED [ 46%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_no_inference PASSED [ 47%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_simple PASSED [ 47%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_sniff_limit PASSED [ 47%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_tsv PASSED [ 48%] tests/test_utilities/test_csvjson.py::TestCSVJSON::test_tsv_streaming PASSED [ 48%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_blanks PASSED [ 49%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_empty <- tests/utils.py PASSED [ 49%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_encoding PASSED [ 49%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_launch_new_instance PASSED [ 50%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_linenumbers PASSED [ 50%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_max_column_width PASSED [ 50%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_max_columns PASSED [ 51%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_max_rows PASSED [ 51%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_no_blanks PASSED [ 52%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_no_header_row PASSED [ 52%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_no_inference PASSED [ 52%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_runs PASSED [ 53%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_simple PASSED [ 53%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_sniff_limit_no_limit PASSED [ 54%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_sniff_limit_zero_limit PASSED [ 54%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_stdin PASSED [ 54%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_unicode PASSED [ 55%] tests/test_utilities/test_csvlook.py::TestCSVLook::test_unicode_bom PASSED [ 55%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_blanks PASSED [ 55%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_empty <- tests/utils.py PASSED [ 56%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_encoding PASSED [ 56%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_invalid_column <- tests/utils.py PASSED [ 57%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_invalid_options <- tests/utils.py PASSED [ 57%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_launch_new_instance PASSED [ 57%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_names <- tests/utils.py PASSED [ 58%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_no_blanks PASSED [ 58%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_no_header_row PASSED [ 59%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_no_inference PASSED [ 59%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_runs PASSED [ 59%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_sort_date PASSED [ 60%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_sort_string_reverse PASSED [ 60%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_sort_t_and_nulls PASSED [ 60%] tests/test_utilities/test_csvsort.py::TestCSVSort::test_stdin PASSED [ 61%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_before_after_insert PASSED [ 61%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_blanks PASSED [ 62%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_create_if_not_exists PASSED [ 62%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_create_table PASSED [ 62%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_empty <- tests/utils.py PASSED [ 63%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_launch_new_instance PASSED [ 63%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_linenumbers PASSED [ 63%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_no_blanks PASSED [ 64%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_no_create_if_not_exists PASSED [ 64%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_no_header_row PASSED [ 65%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_no_inference PASSED [ 65%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_no_prefix_unique_constraint PASSED [ 65%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_prefix_unique_constraint PASSED [ 66%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_query PASSED [ 66%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_query_empty PASSED [ 67%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_query_file PASSED [ 67%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_query_text PASSED [ 67%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_query_update PASSED [ 68%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_stdin PASSED [ 68%] tests/test_utilities/test_csvsql.py::TestCSVSQL::test_stdin_and_filename PASSED [ 68%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_empty <- tests/utils.py PASSED [ 69%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_explicit_grouping PASSED [ 69%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_filenames_grouping PASSED [ 70%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_launch_new_instance PASSED [ 70%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_multiple_file_stack PASSED [ 70%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_no_header_row PASSED [ 71%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_single_file_stack PASSED [ 71%] tests/test_utilities/test_csvstack.py::TestCSVStack::test_skip_lines PASSED [ 72%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_columns PASSED [ 72%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_count_only PASSED [ 72%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_csv PASSED [ 73%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_csv_columns PASSED [ 73%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_empty <- tests/utils.py PASSED [ 73%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_encoding PASSED [ 74%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_freq PASSED [ 74%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_freq_count PASSED [ 75%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_freq_list PASSED [ 75%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_invalid_column <- tests/utils.py PASSED [ 75%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_invalid_options <- tests/utils.py PASSED [ 76%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_launch_new_instance PASSED [ 76%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_linenumbers PASSED [ 77%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_max_length PASSED [ 77%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_names <- tests/utils.py PASSED [ 77%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_no_header_row PASSED [ 78%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_runs PASSED [ 78%] tests/test_utilities/test_csvstat.py::TestCSVStat::test_unique PASSED [ 78%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_blanks PASSED [ 79%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_csv PASSED [ 79%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_csv_with_skip_lines PASSED [ 80%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_geojson PASSED [ 80%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_json PASSED [ 80%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_ndjson PASSED [ 81%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_nested_json PASSED [ 81%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_tsv PASSED [ 81%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_tsv_streaming PASSED [ 82%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xls PASSED [ 82%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xls_with_sheet PASSED [ 83%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xls_with_skip_lines PASSED [ 83%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xls_with_unicode_sheet PASSED [ 83%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xls_with_write_sheets PASSED [ 84%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xlsx PASSED [ 84%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xlsx_with_sheet PASSED [ 85%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xlsx_with_skip_lines PASSED [ 85%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xlsx_with_unicode_sheet PASSED [ 85%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_xlsx_with_write_sheets PASSED [ 86%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_csv_datetime_inference PASSED [ 86%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_csv_no_headers PASSED [ 86%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_csv_no_headers_streaming PASSED [ 87%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_csv_no_inference PASSED [ 87%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_date_format PASSED [ 88%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_date_format_default PASSED [ 88%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_date_like_number PASSED [ 88%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_empty <- tests/utils.py PASSED [ 89%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_geojson_no_inference PASSED [ 89%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_json_no_inference PASSED [ 90%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_launch_new_instance PASSED [ 90%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_locale PASSED [ 90%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_names PASSED [ 91%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_names_xls PASSED [ 91%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_names_xlsx PASSED [ 91%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_ndjson_no_inference PASSED [ 92%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_no_blanks PASSED [ 92%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_numeric_date_format PASSED [ 93%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_numeric_date_format_default PASSED [ 93%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_version PASSED [ 93%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_xls_no_inference PASSED [ 94%] tests/test_utilities/test_in2csv.py::TestIn2CSV::test_xlsx_no_inference PASSED [ 94%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_empty <- tests/utils.py PASSED [ 95%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_encoding PASSED [ 95%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_file PASSED [ 95%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_file_with_query PASSED [ 96%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_launch_new_instance PASSED [ 96%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_linenumbers PASSED [ 96%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_no_header_row PASSED [ 97%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_query PASSED [ 97%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_stdin PASSED [ 98%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_stdin_with_file PASSED [ 98%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_stdin_with_file_and_query PASSED [ 98%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_stdin_with_query PASSED [ 99%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_unicode PASSED [ 99%] tests/test_utilities/test_sql2csv.py::TestSQL2CSV::test_wildcard_on_sqlite PASSED [100%] Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/csvkit')
-rw-r--r--dev-python/csvkit/Manifest1
-rw-r--r--dev-python/csvkit/csvkit-1.0.5.ebuild47
-rw-r--r--dev-python/csvkit/metadata.xml13
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest
new file mode 100644
index 00000000000..f3248abe68c
--- /dev/null
+++ b/dev-python/csvkit/Manifest
@@ -0,0 +1 @@
+DIST csvkit-1.0.5.tar.gz 3783495 BLAKE2B 19210c23480cb3068af74c922a3495612f40bbf5c4985f7018c9c185564dd0c101292f165ddd03440220f582bfdc1590e2f75e8e5c92edd71e76e46a73b26547 SHA512 62dc7a5eefeda9c8824b24f8844b6c1ead5449797d9d004111885b03a1989ad89d1f48b3b7d4a69130885b85cc3c1352910737e416fc19f2038525632b1569f6
diff --git a/dev-python/csvkit/csvkit-1.0.5.ebuild b/dev-python/csvkit/csvkit-1.0.5.ebuild
new file mode 100644
index 00000000000..1430aee3a91
--- /dev/null
+++ b/dev-python/csvkit/csvkit-1.0.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+DESCRIPTION="A suite of utilities for converting to and working with CSV."
+HOMEPAGE="https://github.com/wireservice/csvkit https://pypi.org/project/csvkit/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test +xml"
+RESTRICT="!test? ( test )"
+
+# Other packages have BDEPEND="test? ( dev-python/csvkit[xml] )"
+AGATE_VERSION_DEP=">=dev-python/agate-1.6.1"
+TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+RDEPEND="
+ ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
+ >=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}]
+ >=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}]
+ >=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}]
+ >=dev-python/six-1.6.1[${PYTHON_USEDEP}]
+
+ ${TEST_AGAINST_RDEPEND}
+"
+BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local pytest_args test_name xfails
+
+ xfails=(
+ tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf
+ )
+
+ for test_name in "${xfails[@]}"; do
+ pytest_args+=(--deselect "${test_name}")
+ done
+
+ epytest "${pytest_args[@]}" || die
+}
diff --git a/dev-python/csvkit/metadata.xml b/dev-python/csvkit/metadata.xml
new file mode 100644
index 00000000000..e13598b0ff4
--- /dev/null
+++ b/dev-python/csvkit/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/wireservice/csvkit/issues</bugs-to>
+ <changelog>https://github.com/wireservice/csvkit/blob/master/CHANGELOG.rst</changelog>
+ <remote-id type="pypi">csvkit</remote-id>
+ <remote-id type="github">wireservice/csvkit</remote-id>
+ </upstream>
+</pkgmetadata>