summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-05-30 15:10:52 +0200
committerMatěj Cepl <mcepl@cepl.eu>2022-05-30 15:10:52 +0200
commit5bca2e56fe4c411f4380efacd67496735eb0d043 (patch)
tree6dad8f0f4eb8267bb6a6003665a66706dcd4b5f3
parent3e1be2b2ef271db2d231b72917cc140926760208 (diff)
downloadopenSUSEConf2022-5bca2e56fe4c411f4380efacd67496735eb0d043.tar.gz
First three slides added.
-rw-r--r--main.pdfbin30477 -> 50895 bytes
-rw-r--r--main.tex57
2 files changed, 56 insertions, 1 deletions
diff --git a/main.pdf b/main.pdf
index fb1be1d..a32009b 100644
--- a/main.pdf
+++ b/main.pdf
Binary files differ
diff --git a/main.tex b/main.tex
index 1987d79..2c806a8 100644
--- a/main.tex
+++ b/main.tex
@@ -27,13 +27,68 @@
% \end{frame}
\begin{frame}
+\frametitle{Problems in the Python non-specific packaging}
\begin{itemize}
- \item First item
+ \item Multiple interpreters
+ \item Complicated commands
+ \item Not enough checking
\end{itemize}
\end{frame}
+\begin{frame}[fragile]
+\frametitle{Multiple interpreters}
+
+\begin{minipage}[t]{.35\textwidth}
+\begin{verbatim}
+%build
+%if %{with python3}
+%py3_build
+%else
+%py2_build
+%endif
+\end{verbatim}
+\end{minipage} %
+\hfill %
+\pause %
+\begin{minipage}[t]{.35\textwidth}
+\begin{verbatim}
+%build
+%python_build
+\end{verbatim}
+\end{minipage}
+
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Complicated commands}
+
+\begin{verbatim}
+%check
+export PYTHONPATH=%{buildroot}%{python_sitelib} PYTHONDONTWRITEBYTECODE=1
+pytest --ignore=build.* -v
+\end{verbatim}
+
+And this is still not correct, because it must be done for all
+Python versions separately (and those \texttt{--ignore=build*}
+must be arranged accordingly).
+
+\pause
+\begin{verbatim}
+%check
+%pytest
+\end{verbatim}
+
+\end{frame}
+
+\begin{frame}
+ \frametitle{Thank you!}
+
+\end{frame}
+
+
+
\begin{frame}
\frametitle{Thank you!}
My email is mcepl@cepl.eu.\vspace{1em}