Browse Source

Preparing for new release.

dev
Franco Masotti 1 year ago
parent
commit
81afffc0db
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 2
      Makefile
  2. 2
      fattura_elettronica_reader/api.py
  3. 4
      packages/aur/PKGBUILD
  4. 4
      setup.py

2
Makefile

@ -41,7 +41,7 @@ uninstall-dev:
pipenv --rm
test:
python -m unittest $(PACKAGE_NAME).tests.tests --failfast --locals --verbose
pipenv run python -m unittest $(PACKAGE_NAME).tests.tests --failfast --locals --verbose
dist:
pipenv run python setup.py sdist

2
fattura_elettronica_reader/api.py

@ -712,7 +712,7 @@ def pipeline(source: str, file_type: str, data: dict):
if not pathlib.Path(configuration_file).is_file() or data['write default configuration file']:
write_configuration_file(configuration_file)
if source != 'NOOP' and file_type != 'NOOP':
config = fpyutils.load_configuration(configuration_file)
config = yaml.load(open(configuration_file, 'r'), Loader=yaml.SafeLoader)
# Define all the paths for the static elements.
trusted_list_file = define_appdirs_user_data_dir_file_path(

4
packages/aur/PKGBUILD

@ -1,7 +1,7 @@
# Maintainer: Franco Masotti <franco dot masotti at live dot com>
# Contributor: Franco Masotti <franco dot masotti at live dot com>
pkgname=python-fattura_elettronica_reader
pkgver=2.0.4
pkgver=2.0.5
pkgrel=1
pkgdesc="'A utility that is able to check and extract electronic invoice received from the Sistema di Interscambio"
arch=('any')
@ -15,7 +15,7 @@ depends=('python'
'python-requests=2.25.1'
'python-lxml=4.6.3',
'python-yaml=5.4.1.1',
'python-fpyutils=1.2.2')
'python-fpyutils=2.0.0')
options=(!emptydirs)
source=("https://blog.franco.net.eu.org/software/fattura-elettronica-reader-${pkgver}.tar.gz.sig" "https://blog.franco.net.eu.org/software/fattura-elettronica-reader-${pkgver}.tar.gz")
sha512sums=('SKIP' 'SKIP')

4
setup.py

@ -24,7 +24,7 @@ from setuptools import setup, find_packages
setup(
name='fattura_elettronica_reader',
version='2.0.4',
version='2.0.5',
packages=find_packages(exclude=['*tests*']),
license='GPL',
description='A utility that is able to check and extract electronic invoice received from the Sistema di Interscambio.',
@ -58,6 +58,6 @@ setup(
'requests>=2.25,<2.26',
'lxml>=4.6.3,<4.7',
'PyYAML>=5.4,<5.5',
'fpyutils>=1.2,<1.3'
'fpyutils>=2.0,<2.1'
],
)

Loading…
Cancel
Save