summaryrefslogtreecommitdiff
path: root/textproc/py-transpopy/files/patch-setup.py
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2022-09-17 20:33:36 +0200
committerStefan Eßer <se@FreeBSD.org>2022-09-17 20:38:04 +0200
commitf017dfa2409e8851ac79b85c731e8f15d76e7e2f (patch)
treeb9b9e510d799066217770c11c50070974fcad159 /textproc/py-transpopy/files/patch-setup.py
parentmultimedia/gmmlib: update to 22.2.0 (diff)
textproc/py-transpopy: Do not install LICENSE in ${PREFIX}
In addition to the patch provided by Jesús Daniel Colmenares Oviedo I have added the license file to the package for installation in the system's licenses directory. PR: 236619
Diffstat (limited to 'textproc/py-transpopy/files/patch-setup.py')
-rw-r--r--textproc/py-transpopy/files/patch-setup.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/py-transpopy/files/patch-setup.py b/textproc/py-transpopy/files/patch-setup.py
new file mode 100644
index 000000000000..f82e2e616fa2
--- /dev/null
+++ b/textproc/py-transpopy/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig 2022-09-17 02:34:34 UTC
++++ setup.py
+@@ -7,7 +7,6 @@ setup(name='transpopy',
+ install_requires=['google-cloud-translate'],
+ packages=['transpopy'],
+ package_data={'transpopy': ['transpopy/*']},
+- data_files=[('LICENSE')],
+ entry_points={'console_scripts': ['transpopy=transpopy.__main__:main']},
+ description='A simple script to translate po files.',
+ long_description=("Read a po file and translate the msgids with the "