forked from pool/perl-Inline-Python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Inline-Python?expand=0&rev=22
28 lines
724 B
YAML
28 lines
724 B
YAML
---
|
|
#description_paragraphs: 3
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
patches:
|
|
initperl_prototype.diff: -p1
|
|
preamble: |-
|
|
BuildRequires: python3-devel
|
|
BuildRequires: perl(Parse::RecDescent)
|
|
#post_prep: |-
|
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
|
#post_install: |-
|
|
# sed on %{name}.files
|
|
#license: SUSE-NonFree
|
|
#skip_noarch: 1
|
|
custom_build: |-
|
|
export INLINE_PYTHON_EXECUTABLE=/usr/bin/python3
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|
|
#custom_test: |-
|
|
#startserver && make test
|
|
#ignore_requires: Bizarre::Module
|