403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/textproc/py-citeproc-py/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/py-citeproc-py/files/patch-setup.py
--- setup.py.orig	2021-05-27 17:28:02 UTC
+++ setup.py
@@ -30,7 +30,7 @@ os.chdir(BASE_PATH)
 # inspired by http://dcreager.net/2010/02/10/setuptools-git-version-numbers/
 try:
     print('Attempting to get version number from git...')
-    git = Popen(['git', 'describe', '--always', '--dirty'],
+    git = Popen(['/usr/bin/false', 'describe', '--always', '--dirty'],
                 stdout=PIPE, stderr=sys.stderr)
     if git.wait() != 0:
         raise OSError
@@ -85,14 +85,13 @@ setup(
     name='citeproc-py',
     version=__version__,
     cmdclass = dict(build_py=custom_build_py, develop=custom_develop),
-    packages=find_packages(),
     package_data={PACKAGE: ['data/locales/*.xml',
                             'data/locales/locales.json',
                             'data/schema/*.rng',
                             'data/styles/*.csl']},
     python_requires='>=3.6',
     scripts=['bin/csl_unsorted'],
-    setup_requires=['rnc2rng>=2.6.1,!=2.6.2'],
+    setup_requires=['rnc2rng'],
     install_requires=['lxml'],
     provides=[PACKAGE],
     #test_suite='nose.collector',

Youez - 2016 - github.com/yon3zu
LinuXploit