Skip to content

Commit 5d223c0

Browse files
authored
Merge pull request #713 from python/makefile-fixes
Makefile fixes
2 parents 5c0aa24 + 1d740d3 commit 5d223c0

11 files changed

+30
-17
lines changed

.overrides/reviewers-guide.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
================================
24
Guía para revisar una traducción
35
================================

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ script:
1212
- powrap --check --quiet **/*.po
1313
- awk 1 dict dictionaries/*.txt > dict.txt
1414
- pospell -p dict.txt -l es_AR -l es_ES **/*.po
15-
- make build
15+
- pip install -q -r requirements.txt
16+
- PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
1617
branches:
1718
only:
1819
- /^3\.\d$/

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help:
4141
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4242
.PHONY: build
4343
build: setup
44-
PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
44+
PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML) && \
4545
@echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \
4646
"or run 'make serve' to see them in http://localhost:8000";
4747

@@ -89,8 +89,8 @@ progress: venv
8989

9090
.PHONY: spell
9191
spell: venv
92-
# 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final
93-
# 'awk 1' agregará una nueva línea en caso que falte.
92+
# 'cat' tenia el problema que algunos archivos no tenían una nueva línea al final
93+
# 'awk 1' agregará una nueva línea en caso que falte.
9494
awk 1 dict dictionaries/*.txt > dict.txt
9595
$(VENV)/bin/pospell -p dict.txt -l es_ES **/*.po
9696

library/array.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ msgid ""
266266
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
267267
"``typecode``, ``initializer``."
268268
msgstr ""
269-
"Lanza un ref:`evento auditor <auditing>` ``array.__new__`` con argumentos "
270-
"``typecode``, ``initializer``."
269+
"Lanza un :ref:`evento de auditoría <auditing>` ``array.__new__`` con "
270+
"argumentos ``typecode``, ``initializer``."
271271

272272
#: ../Doc/library/array.rst:83
273273
msgid "A string with all available type codes."

library/asyncio-eventloop.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ msgid ""
3131
"**Source code:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/"
3232
"base_events.py`"
3333
msgstr ""
34-
"**Código fuente:** :fuente:`Lib/asyncio/events.py`, :fuente:`Lib/asyncio/"
34+
"**Código fuente:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/"
3535
"base_events.py`"
3636

3737
#: ../Doc/library/asyncio-eventloop.rst:14

library/ctypes.po

+6
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,7 @@ msgstr ""
19641964
"tienes que asignar el atributo correcto :attr:`restype` para usar estas "
19651965
"funciones."
19661966

1967+
#, fuzzy
19671968
msgid ""
19681969
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlopen`` with argument "
19691970
"``name``."
@@ -1981,6 +1982,7 @@ msgstr ""
19811982
"`evento de auditoría <auditing>` ``ctypes.dlopen`` con el argumento de "
19821983
"cadena ``name``, el nombre usado para cargar la biblioteca."
19831984

1985+
#, fuzzy
19841986
msgid ""
19851987
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlsym`` with arguments "
19861988
"``library``, ``name``."
@@ -1998,6 +2000,7 @@ msgstr ""
19982000
"auditoría ``ctypes.dlsym`` con argumentos ``library`` (el objeto de la "
19992001
"biblioteca) y ``name`` (el nombre del símbolo como cadena o entero)."
20002002

2003+
#, fuzzy
20012004
msgid ""
20022005
"Raises an :ref:`auditing event <auditing>` ``ctypes.dlsym/handle`` with "
20032006
"arguments ``handle``, ``name``."
@@ -2175,6 +2178,7 @@ msgstr ""
21752178
"Esta excepción se lanza cuando una llamada a una función foránea no puede "
21762179
"convertir uno de los argumentos pasados."
21772180

2181+
#, fuzzy
21782182
msgid ""
21792183
"Raises an :ref:`auditing event <auditing>` ``ctypes.seh_exception`` with "
21802184
"argument ``code``."
@@ -2197,6 +2201,7 @@ msgstr ""
21972201
"permitiendo que un gancho de auditoría reemplace la excepción con la suya "
21982202
"propia."
21992203

2204+
#, fuzzy
22002205
msgid ""
22012206
"Raises an :ref:`auditing event <auditing>` ``ctypes.call_function`` with "
22022207
"arguments ``func_pointer``, ``arguments``."
@@ -2947,6 +2952,7 @@ msgstr ""
29472952
"Este método retorna una instancia de tipo ctypes utilizando la memoria "
29482953
"especificada por *address* que debe ser un entero."
29492954

2955+
#, fuzzy
29502956
msgid ""
29512957
"Raises an :ref:`auditing event <auditing>` ``ctypes.cdata`` with argument "
29522958
"``address``."

library/functions.po

+4
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ msgstr ""
725725
"Si quieres transformar código Python a su representación AST, revisa :func:"
726726
"`ast.parse`."
727727

728+
#, fuzzy
728729
msgid ""
729730
"Raises an :ref:`auditing event <auditing>` ``compile`` with arguments "
730731
"``source``, ``filename``."
@@ -1096,6 +1097,7 @@ msgstr ""
10961097
"Véase :func:`ast.literal_eval`, una función que puede evaluar de forma "
10971098
"segura cadenas con expresiones que contienen solo literales."
10981099

1100+
#, fuzzy
10991101
msgid ""
11001102
"Raises an :ref:`auditing event <auditing>` ``exec`` with argument "
11011103
"``code_object``."
@@ -1546,6 +1548,7 @@ msgstr ""
15461548
"para proporcionar características más elaboradas de edición de líneas e "
15471549
"historiales."
15481550

1551+
#, fuzzy
15491552
msgid ""
15501553
"Raises an :ref:`auditing event <auditing>` ``builtins.input`` with argument "
15511554
"``prompt``."
@@ -1561,6 +1564,7 @@ msgstr ""
15611564
"Lanza un :ref:`evento de auditoría <auditing>` ``builtins.input`` con el "
15621565
"argumento ``prompt`` antes de leer entrada"
15631566

1567+
#, fuzzy
15641568
msgid ""
15651569
"Raises an :ref:`auditing event <auditing>` ``builtins.input/result`` with "
15661570
"argument ``result``."

library/io.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ msgid ""
231231
"arguments ``path``, ``mode`` and ``flags``. The ``mode`` and ``flags`` "
232232
"arguments may have been modified or inferred from the original call."
233233
msgstr ""
234-
"Esta función lanza un ref:`auditing event <auditing>` ``open`` con los "
234+
"Esta función lanza un :ref:`evento de auditoría <auditing>` ``open`` con los "
235235
"argumentos ``path``, ``mode`` y ``flags``. Los argumentos``mode`` y "
236236
"``flags`` pueden haber sido modificados o inferido desde el pedido original."
237237

library/os.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ msgid ""
21172117
msgstr ""
21182118
"Puede verificar si *path* se puede especificar o no como un descriptor de "
21192119
"archivo para una función particular en su plataforma usando :data:`os."
2120-
"supports_fd`. Si esta funcionalidad no está disponible, su uso generará un : "
2120+
"supports_fd`. Si esta funcionalidad no está disponible, su uso generará un :"
21212121
"exc:`NotImplementedError`."
21222122

21232123
#: ../Doc/library/os.rst:1507
@@ -2660,7 +2660,7 @@ msgid ""
26602660
"Raises an :ref:`auditing event <auditing>` ``os.listdir`` with argument "
26612661
"``path``."
26622662
msgstr ""
2663-
"Lanza un : ef:`evento de auditoría <auditing>` ``os.listdir`` con el "
2663+
"Lanza un :ref:`evento de auditoría <auditing>` ``os.listdir`` con el "
26642664
"argumento ``ruta``."
26652665

26662666
#: ../Doc/library/os.rst:1843

library/shlex.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ msgid ""
8080
"function is the inverse of :func:`split`."
8181
msgstr ""
8282
"Concatena los tokens de la lista *split_command* y retorna una cadena. Esta "
83-
"función es la inversa de :func:'split'."
83+
"función es la inversa de :func:`split`."
8484

8585
#: ../Doc/library/shlex.rst:49
8686
msgid ""
8787
"The returned value is shell-escaped to protect against injection "
8888
"vulnerabilities (see :func:`quote`)."
8989
msgstr ""
9090
"El valor retornado se escapa del intérprete de comandos para protegerlo "
91-
"contra vulnerabilidades de inyección (consulte :func:'quote')."
91+
"contra vulnerabilidades de inyección (consulte :func:`quote`)."
9292

9393
#: ../Doc/library/shlex.rst:57
9494
msgid ""
@@ -370,7 +370,7 @@ msgstr ""
370370
"en los parámetros de la línea de comandos, también se incluirán en este "
371371
"atributo, y cualquier carácter que aparezca en ``punctuation_chars`` será "
372372
"eliminado de ``wordchars`` si están presentes allí. Si :attr:"
373-
"``whitespace_split`` se establece en ``True``, esto no tendrá ningún efecto."
373+
"`whitespace_split` se establece en ``True``, esto no tendrá ningún efecto."
374374

375375
#: ../Doc/library/shlex.rst:236
376376
msgid ""

library/telnetlib.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ msgid ""
240240
"Raises an :ref:`auditing event <auditing>` ``telnetlib.Telnet.open`` with "
241241
"arguments ``self``, ``host``, ``port``."
242242
msgstr ""
243-
"Genera un :ref:`auditing event <auditing>` ``telnetlib. Telnet.open`` con "
244-
"argumentos ``self``, ``host``, ``port``."
243+
"Genera un :ref:`evento de auditoría <auditing>` ``telnetlib. Telnet.open`` "
244+
"con argumentos ``self``, ``host``, ``port``."
245245

246246
#: ../Doc/library/telnetlib.rst:149
247247
msgid ""
@@ -289,8 +289,8 @@ msgid ""
289289
"Raises an :ref:`auditing event <auditing>` ``telnetlib.Telnet.write`` with "
290290
"arguments ``self``, ``buffer``."
291291
msgstr ""
292-
"Lanza un :ref:`<auditing>` ``telnetlib.Telnet.write`` con argumentos "
293-
"``self``, ``buffer``."
292+
"Lanza un :ref:`evento de auditoría <auditing>` ``telnetlib.Telnet.write`` "
293+
"con argumentos ``self``, ``buffer``."
294294

295295
#: ../Doc/library/telnetlib.rst:183
296296
msgid ""

0 commit comments

Comments
 (0)