mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
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
This commit is contained in:
parent
da6231b072
commit
f017dfa240
2 changed files with 13 additions and 1 deletions
|
@ -1,14 +1,16 @@
|
|||
PORTNAME= transpopy
|
||||
PORTVERSION= 0.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= contato@kanazuchi.com
|
||||
COMMENT= Translate PO file strings with Google Translate API
|
||||
WWW= https://github.com/kanazux/transpopy
|
||||
WWW= https://github.com/kanazux/transpopy/
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-translate>=0:www/py-google-cloud-translate@${PY_FLAVOR}
|
||||
|
||||
|
|
10
textproc/py-transpopy/files/patch-setup.py
Normal file
10
textproc/py-transpopy/files/patch-setup.py
Normal file
|
@ -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 "
|
Loading…
Add table
Reference in a new issue